删除多余的窗口
This commit is contained in:
parent
e4aa7cbd32
commit
5bef44a9af
@ -1,50 +0,0 @@
|
|||||||
// BookingDlg.cpp: 实现文件
|
|
||||||
//
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "aike.h"
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
#include "BookingDlg.h"
|
|
||||||
|
|
||||||
|
|
||||||
// BookingDlg 对话框
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC(BookingDlg, CDialogEx)
|
|
||||||
|
|
||||||
BookingDlg::BookingDlg(CWnd* pParent /*=nullptr*/)
|
|
||||||
: CDialogEx(IDD_BOOKINGDLG, pParent)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
BookingDlg::~BookingDlg()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void BookingDlg::DoDataExchange(CDataExchange* pDX)
|
|
||||||
{
|
|
||||||
CDialogEx::DoDataExchange(pDX);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(BookingDlg, CDialogEx)
|
|
||||||
END_MESSAGE_MAP()
|
|
||||||
|
|
||||||
|
|
||||||
// BookingDlg 消息处理程序
|
|
||||||
|
|
||||||
|
|
||||||
void BookingDlg::OnCancel()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnCancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void BookingDlg::OnOK()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnOK();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
|
|
||||||
|
|
||||||
// BookingDlg 对话框
|
|
||||||
|
|
||||||
class BookingDlg : public CDialogEx
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC(BookingDlg)
|
|
||||||
|
|
||||||
public:
|
|
||||||
BookingDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
||||||
virtual ~BookingDlg();
|
|
||||||
|
|
||||||
// 对话框数据
|
|
||||||
#ifdef AFX_DESIGN_TIME
|
|
||||||
enum { IDD = IDD_BOOKINGDLG };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
||||||
|
|
||||||
DECLARE_MESSAGE_MAP()
|
|
||||||
virtual void OnCancel();
|
|
||||||
virtual void OnOK();
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
// BusinessDlg.cpp: 实现文件
|
|
||||||
//
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "aike.h"
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
#include "BusinessDlg.h"
|
|
||||||
|
|
||||||
|
|
||||||
// BusinessDlg 对话框
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC(BusinessDlg, CDialogEx)
|
|
||||||
|
|
||||||
BusinessDlg::BusinessDlg(CWnd* pParent /*=nullptr*/)
|
|
||||||
: CDialogEx(IDD_BUSINESSDLG, pParent)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
BusinessDlg::~BusinessDlg()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void BusinessDlg::DoDataExchange(CDataExchange* pDX)
|
|
||||||
{
|
|
||||||
CDialogEx::DoDataExchange(pDX);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(BusinessDlg, CDialogEx)
|
|
||||||
END_MESSAGE_MAP()
|
|
||||||
|
|
||||||
|
|
||||||
// BusinessDlg 消息处理程序
|
|
||||||
|
|
||||||
|
|
||||||
void BusinessDlg::OnCancel()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnCancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void BusinessDlg::OnOK()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnOK();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
|
|
||||||
|
|
||||||
// BusinessDlg 对话框
|
|
||||||
|
|
||||||
class BusinessDlg : public CDialogEx
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC(BusinessDlg)
|
|
||||||
|
|
||||||
public:
|
|
||||||
BusinessDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
||||||
virtual ~BusinessDlg();
|
|
||||||
|
|
||||||
// 对话框数据
|
|
||||||
#ifdef AFX_DESIGN_TIME
|
|
||||||
enum { IDD = IDD_BUSINESSDLG };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
||||||
|
|
||||||
DECLARE_MESSAGE_MAP()
|
|
||||||
virtual void OnCancel();
|
|
||||||
virtual void OnOK();
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
// InventoryDlg.cpp: 实现文件
|
|
||||||
//
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "aike.h"
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
#include "InventoryDlg.h"
|
|
||||||
|
|
||||||
|
|
||||||
// InventoryDlg 对话框
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC(InventoryDlg, CDialogEx)
|
|
||||||
|
|
||||||
InventoryDlg::InventoryDlg(CWnd* pParent /*=nullptr*/)
|
|
||||||
: CDialogEx(IDD_INVENTORYDLG, pParent)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
InventoryDlg::~InventoryDlg()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void InventoryDlg::DoDataExchange(CDataExchange* pDX)
|
|
||||||
{
|
|
||||||
CDialogEx::DoDataExchange(pDX);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(InventoryDlg, CDialogEx)
|
|
||||||
END_MESSAGE_MAP()
|
|
||||||
|
|
||||||
|
|
||||||
// InventoryDlg 消息处理程序
|
|
||||||
|
|
||||||
|
|
||||||
void InventoryDlg::OnCancel()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnCancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void InventoryDlg::OnOK()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnOK();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
|
|
||||||
|
|
||||||
// InventoryDlg 对话框
|
|
||||||
|
|
||||||
class InventoryDlg : public CDialogEx
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC(InventoryDlg)
|
|
||||||
|
|
||||||
public:
|
|
||||||
InventoryDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
||||||
virtual ~InventoryDlg();
|
|
||||||
|
|
||||||
// 对话框数据
|
|
||||||
#ifdef AFX_DESIGN_TIME
|
|
||||||
enum { IDD = IDD_INVENTORYDLG };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
||||||
|
|
||||||
DECLARE_MESSAGE_MAP()
|
|
||||||
virtual void OnCancel();
|
|
||||||
virtual void OnOK();
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
// MemberDlg.cpp: 实现文件
|
|
||||||
//
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "aike.h"
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
#include "MemberDlg.h"
|
|
||||||
|
|
||||||
|
|
||||||
// MemberDlg 对话框
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC(MemberDlg, CDialogEx)
|
|
||||||
|
|
||||||
MemberDlg::MemberDlg(CWnd* pParent /*=nullptr*/)
|
|
||||||
: CDialogEx(IDD_MEMBERDLG, pParent)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
MemberDlg::~MemberDlg()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void MemberDlg::DoDataExchange(CDataExchange* pDX)
|
|
||||||
{
|
|
||||||
CDialogEx::DoDataExchange(pDX);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(MemberDlg, CDialogEx)
|
|
||||||
END_MESSAGE_MAP()
|
|
||||||
|
|
||||||
|
|
||||||
// MemberDlg 消息处理程序
|
|
||||||
|
|
||||||
|
|
||||||
void MemberDlg::OnCancel()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnCancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void MemberDlg::OnOK()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnOK();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
|
|
||||||
|
|
||||||
// MemberDlg 对话框
|
|
||||||
|
|
||||||
class MemberDlg : public CDialogEx
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC(MemberDlg)
|
|
||||||
|
|
||||||
public:
|
|
||||||
MemberDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
||||||
virtual ~MemberDlg();
|
|
||||||
|
|
||||||
// 对话框数据
|
|
||||||
#ifdef AFX_DESIGN_TIME
|
|
||||||
enum { IDD = IDD_MEMBERDLG };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
||||||
|
|
||||||
DECLARE_MESSAGE_MAP()
|
|
||||||
virtual void OnCancel();
|
|
||||||
virtual void OnOK();
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
// ReportDlg.cpp: 实现文件
|
|
||||||
//
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "aike.h"
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
#include "ReportDlg.h"
|
|
||||||
|
|
||||||
|
|
||||||
// ReportDlg 对话框
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC(ReportDlg, CDialogEx)
|
|
||||||
|
|
||||||
ReportDlg::ReportDlg(CWnd* pParent /*=nullptr*/)
|
|
||||||
: CDialogEx(IDD_REPORTDLG, pParent)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ReportDlg::~ReportDlg()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ReportDlg::DoDataExchange(CDataExchange* pDX)
|
|
||||||
{
|
|
||||||
CDialogEx::DoDataExchange(pDX);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(ReportDlg, CDialogEx)
|
|
||||||
END_MESSAGE_MAP()
|
|
||||||
|
|
||||||
|
|
||||||
// ReportDlg 消息处理程序
|
|
||||||
|
|
||||||
|
|
||||||
void ReportDlg::OnCancel()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnCancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void ReportDlg::OnOK()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnOK();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
|
|
||||||
|
|
||||||
// ReportDlg 对话框
|
|
||||||
|
|
||||||
class ReportDlg : public CDialogEx
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC(ReportDlg)
|
|
||||||
|
|
||||||
public:
|
|
||||||
ReportDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
||||||
virtual ~ReportDlg();
|
|
||||||
|
|
||||||
// 对话框数据
|
|
||||||
#ifdef AFX_DESIGN_TIME
|
|
||||||
enum { IDD = IDD_REPORTDLG };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
||||||
|
|
||||||
DECLARE_MESSAGE_MAP()
|
|
||||||
virtual void OnCancel();
|
|
||||||
virtual void OnOK();
|
|
||||||
};
|
|
@ -1,50 +0,0 @@
|
|||||||
// SetUpDlg.cpp: 实现文件
|
|
||||||
//
|
|
||||||
|
|
||||||
#include "pch.h"
|
|
||||||
#include "aike.h"
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
#include "SetUpDlg.h"
|
|
||||||
|
|
||||||
|
|
||||||
// SetUpDlg 对话框
|
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC(SetUpDlg, CDialogEx)
|
|
||||||
|
|
||||||
SetUpDlg::SetUpDlg(CWnd* pParent /*=nullptr*/)
|
|
||||||
: CDialogEx(IDD_SETUPDLG, pParent)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
SetUpDlg::~SetUpDlg()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetUpDlg::DoDataExchange(CDataExchange* pDX)
|
|
||||||
{
|
|
||||||
CDialogEx::DoDataExchange(pDX);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_MESSAGE_MAP(SetUpDlg, CDialogEx)
|
|
||||||
END_MESSAGE_MAP()
|
|
||||||
|
|
||||||
|
|
||||||
// SetUpDlg 消息处理程序
|
|
||||||
|
|
||||||
|
|
||||||
void SetUpDlg::OnCancel()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnCancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void SetUpDlg::OnOK()
|
|
||||||
{
|
|
||||||
// TODO: 在此添加专用代码和/或调用基类
|
|
||||||
|
|
||||||
//CDialogEx::OnOK();
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "afxdialogex.h"
|
|
||||||
|
|
||||||
|
|
||||||
// SetUpDlg 对话框
|
|
||||||
|
|
||||||
class SetUpDlg : public CDialogEx
|
|
||||||
{
|
|
||||||
DECLARE_DYNAMIC(SetUpDlg)
|
|
||||||
|
|
||||||
public:
|
|
||||||
SetUpDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
||||||
virtual ~SetUpDlg();
|
|
||||||
|
|
||||||
// 对话框数据
|
|
||||||
#ifdef AFX_DESIGN_TIME
|
|
||||||
enum { IDD = IDD_SETUPDLG };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
||||||
|
|
||||||
DECLARE_MESSAGE_MAP()
|
|
||||||
virtual void OnCancel();
|
|
||||||
virtual void OnOK();
|
|
||||||
};
|
|
BIN
aike/aike.rc
BIN
aike/aike.rc
Binary file not shown.
@ -187,14 +187,9 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="aike.h" />
|
<ClInclude Include="aike.h" />
|
||||||
<ClInclude Include="aikeDlg.h" />
|
<ClInclude Include="aikeDlg.h" />
|
||||||
<ClInclude Include="BookingDlg.h" />
|
|
||||||
<ClInclude Include="BusinessDlg.h" />
|
|
||||||
<ClInclude Include="framework.h" />
|
<ClInclude Include="framework.h" />
|
||||||
<ClInclude Include="InventoryDlg.h" />
|
<ClInclude Include="InventoryDlg.h" />
|
||||||
<ClInclude Include="MemberDlg.h" />
|
|
||||||
<ClInclude Include="ReportDlg.h" />
|
|
||||||
<ClInclude Include="RoomSetUpDlg.h" />
|
<ClInclude Include="RoomSetUpDlg.h" />
|
||||||
<ClInclude Include="SetUpDlg.h" />
|
|
||||||
<ClInclude Include="StaffDlg.h" />
|
<ClInclude Include="StaffDlg.h" />
|
||||||
<ClInclude Include="pch.h" />
|
<ClInclude Include="pch.h" />
|
||||||
<ClInclude Include="Resource.h" />
|
<ClInclude Include="Resource.h" />
|
||||||
@ -203,13 +198,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="aike.cpp" />
|
<ClCompile Include="aike.cpp" />
|
||||||
<ClCompile Include="aikeDlg.cpp" />
|
<ClCompile Include="aikeDlg.cpp" />
|
||||||
<ClCompile Include="BookingDlg.cpp" />
|
|
||||||
<ClCompile Include="BusinessDlg.cpp" />
|
|
||||||
<ClCompile Include="InventoryDlg.cpp" />
|
|
||||||
<ClCompile Include="MemberDlg.cpp" />
|
|
||||||
<ClCompile Include="ReportDlg.cpp" />
|
|
||||||
<ClCompile Include="RoomSetUpDlg.cpp" />
|
<ClCompile Include="RoomSetUpDlg.cpp" />
|
||||||
<ClCompile Include="SetUpDlg.cpp" />
|
|
||||||
<ClCompile Include="StaffDlg.cpp" />
|
<ClCompile Include="StaffDlg.cpp" />
|
||||||
<ClCompile Include="pch.cpp">
|
<ClCompile Include="pch.cpp">
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
|
@ -36,27 +36,12 @@
|
|||||||
<ClInclude Include="StaffDlg.h">
|
<ClInclude Include="StaffDlg.h">
|
||||||
<Filter>头文件</Filter>
|
<Filter>头文件</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="BookingDlg.h">
|
|
||||||
<Filter>头文件</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="BusinessDlg.h">
|
|
||||||
<Filter>头文件</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="InventoryDlg.h">
|
<ClInclude Include="InventoryDlg.h">
|
||||||
<Filter>头文件</Filter>
|
<Filter>头文件</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="MemberDlg.h">
|
|
||||||
<Filter>头文件</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="ReportDlg.h">
|
|
||||||
<Filter>头文件</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="RoomSetUpDlg.h">
|
<ClInclude Include="RoomSetUpDlg.h">
|
||||||
<Filter>头文件</Filter>
|
<Filter>头文件</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="SetUpDlg.h">
|
|
||||||
<Filter>头文件</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="aike.cpp">
|
<ClCompile Include="aike.cpp">
|
||||||
@ -71,27 +56,9 @@
|
|||||||
<ClCompile Include="StaffDlg.cpp">
|
<ClCompile Include="StaffDlg.cpp">
|
||||||
<Filter>源文件</Filter>
|
<Filter>源文件</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="BookingDlg.cpp">
|
|
||||||
<Filter>源文件</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="BusinessDlg.cpp">
|
|
||||||
<Filter>源文件</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="InventoryDlg.cpp">
|
|
||||||
<Filter>源文件</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="MemberDlg.cpp">
|
|
||||||
<Filter>源文件</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="ReportDlg.cpp">
|
|
||||||
<Filter>源文件</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="RoomSetUpDlg.cpp">
|
<ClCompile Include="RoomSetUpDlg.cpp">
|
||||||
<Filter>源文件</Filter>
|
<Filter>源文件</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="SetUpDlg.cpp">
|
|
||||||
<Filter>源文件</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="aike.rc">
|
<ResourceCompile Include="aike.rc">
|
||||||
|
@ -213,7 +213,7 @@ VOID CaikeDlg::Initialize()
|
|||||||
|
|
||||||
|
|
||||||
m_StaffDlg.Create(IDD_STAFFDLG, this);
|
m_StaffDlg.Create(IDD_STAFFDLG, this);
|
||||||
|
m_RoomSetUpDlg.Create(IDD_ROOMSETUPDLG, this);
|
||||||
|
|
||||||
//FixedSize();
|
//FixedSize();
|
||||||
|
|
||||||
@ -345,6 +345,7 @@ VOID CaikeDlg::MoveAllWin()
|
|||||||
rt.left = 150;
|
rt.left = 150;
|
||||||
rt.top = (50);
|
rt.top = (50);
|
||||||
m_StaffDlg.MoveWindow(rt);
|
m_StaffDlg.MoveWindow(rt);
|
||||||
|
m_RoomSetUpDlg.MoveWindow(rt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -372,24 +373,39 @@ VOID CaikeDlg::SetUpClick(int id)
|
|||||||
rt.MoveToXY(30, 90);
|
rt.MoveToXY(30, 90);
|
||||||
AddButton(6001, rt);
|
AddButton(6001, rt);
|
||||||
SetLClick(6001, [this](int i) {StaffClick(i); });
|
SetLClick(6001, [this](int i) {StaffClick(i); });
|
||||||
|
|
||||||
|
rt.MoveToXY(30, 130);
|
||||||
|
AddButton(6002, rt);
|
||||||
|
SetLClick(6002, [this](int i) {RoomSetUpClick(i); });
|
||||||
}
|
}
|
||||||
ShowButton(1001, TRUE);
|
ShowButton(1001, TRUE);
|
||||||
ShowButton(6001, TRUE);
|
ShowButton(6001, TRUE);
|
||||||
}
|
ShowButton(6002, TRUE);
|
||||||
|
|
||||||
VOID CaikeDlg::StaffClick(int id)
|
|
||||||
{
|
|
||||||
m_StaffDlg.ShowWindow(SW_SHOW);
|
|
||||||
m_StaffDlg.ShowStaff();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//回到主页
|
//回到主页
|
||||||
VOID CaikeDlg::HomepageClick(int id)
|
VOID CaikeDlg::HomepageClick(int id)
|
||||||
{
|
{
|
||||||
m_StaffDlg.ShowWindow(SW_HIDE);
|
m_StaffDlg.ShowWindow(SW_HIDE);
|
||||||
|
m_RoomSetUpDlg.ShowWindow(SW_HIDE);
|
||||||
ShowButton(1001, FALSE);
|
ShowButton(1001, FALSE);
|
||||||
ShowButton(6001, FALSE);
|
ShowButton(6001, FALSE);
|
||||||
|
ShowButton(6002, FALSE);
|
||||||
HideAllBt(FALSE);
|
HideAllBt(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//点击员工信息
|
||||||
|
VOID CaikeDlg::StaffClick(int id)
|
||||||
|
{
|
||||||
|
m_RoomSetUpDlg.ShowWindow(SW_HIDE);
|
||||||
|
m_StaffDlg.ShowWindow(SW_SHOW);
|
||||||
|
m_StaffDlg.ShowStaff();
|
||||||
|
}
|
||||||
|
|
||||||
|
VOID CaikeDlg::RoomSetUpClick(int id)
|
||||||
|
{
|
||||||
|
m_StaffDlg.ShowWindow(SW_HIDE);
|
||||||
|
m_RoomSetUpDlg.ShowWindow(SW_SHOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "StaffDlg.h"
|
#include "StaffDlg.h"
|
||||||
|
#include "RoomSetUpDlg.h"
|
||||||
|
|
||||||
// CaikeDlg 对话框
|
// CaikeDlg 对话框
|
||||||
class CaikeDlg : public CDialogEx,MyDialog
|
class CaikeDlg : public CDialogEx,MyDialog
|
||||||
@ -39,8 +40,8 @@ public:
|
|||||||
CString DataBase; //数据库名称
|
CString DataBase; //数据库名称
|
||||||
CString UserName; //数据库用户名
|
CString UserName; //数据库用户名
|
||||||
CString AdoPass; //数据库密码
|
CString AdoPass; //数据库密码
|
||||||
//CListCtrl m_Staff;
|
StaffDlg m_StaffDlg; //员工信息界面
|
||||||
StaffDlg m_StaffDlg;
|
RoomSetUpDlg m_RoomSetUpDlg; //员工信息界面
|
||||||
|
|
||||||
//MFC回调函数
|
//MFC回调函数
|
||||||
virtual BOOL PreTranslateMessage(MSG* pMsg); //截获窗口消息
|
virtual BOOL PreTranslateMessage(MSG* pMsg); //截获窗口消息
|
||||||
@ -63,7 +64,8 @@ public:
|
|||||||
VOID HideAllBt(BOOL Hide = TRUE); //隐藏所有按钮
|
VOID HideAllBt(BOOL Hide = TRUE); //隐藏所有按钮
|
||||||
VOID SetUpClick(int id); //设置按钮
|
VOID SetUpClick(int id); //设置按钮
|
||||||
VOID HomepageClick(int id); //回到主页
|
VOID HomepageClick(int id); //回到主页
|
||||||
VOID StaffClick(int id);
|
VOID StaffClick(int id); //点击员工信息
|
||||||
|
VOID RoomSetUpClick(int id); //点击员工信息
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -81,4 +83,5 @@ public:
|
|||||||
6000 基础设置
|
6000 基础设置
|
||||||
1001 返回主页
|
1001 返回主页
|
||||||
6001 员工信息
|
6001 员工信息
|
||||||
|
6002 房间设置
|
||||||
*/
|
*/
|
@ -6,14 +6,7 @@
|
|||||||
#define IDD_AIKE_DIALOG 102
|
#define IDD_AIKE_DIALOG 102
|
||||||
#define IDR_MAINFRAME 128
|
#define IDR_MAINFRAME 128
|
||||||
#define IDD_STAFFDLG 132
|
#define IDD_STAFFDLG 132
|
||||||
#define IDD_DEPARTMENTDLG 134
|
|
||||||
#define IDD_ROOMSETUPDLG 134
|
#define IDD_ROOMSETUPDLG 134
|
||||||
#define IDD_BUSINESSDLG 135
|
|
||||||
#define IDD_MEMBERDLG 136
|
|
||||||
#define IDD_SETUPDLG 137
|
|
||||||
#define IDD_BOOKINGDLG 138
|
|
||||||
#define IDD_INVENTORYDLG 139
|
|
||||||
#define IDD_REPORTDLG 140
|
|
||||||
#define IDC_LIST1 1000
|
#define IDC_LIST1 1000
|
||||||
#define ID_32771 32771
|
#define ID_32771 32771
|
||||||
#define ID_32772 32772
|
#define ID_32772 32772
|
||||||
|
Loading…
Reference in New Issue
Block a user