Files
envi-code/SourceCode/Code2026/tg_shs/shs_TwtKernal/DangFloorDlg.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

66 lines
1.7 KiB
C++

#if !defined(AFX_DANGFLOORDLG_H__B17EA80A_59FC_4797_A66D_812FE58FDE1B__INCLUDED_)
#define AFX_DANGFLOORDLG_H__B17EA80A_59FC_4797_A66D_812FE58FDE1B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DangFloorDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDangFloorDlg dialog
#include "Resource.h"
#include "WDGRID.h"
class TGridDang: public WDGrid
{
protected:
virtual bool OnCellButtonDown(WDGridCell &cell, CString &res);
virtual void OnCellComboString(WDGridCell&cell,CComboBox&combo);
public:
TGridDang(int mode);
int m_iMode;
};
class CDangFloorDlg : public CDialog
{
// Construction
public:
CDangFloorDlg(int mode, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDangFloorDlg)
enum { IDD = IDD_DANG_FLOOR };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
XStringList m_lstDang, m_lstAutoClose, m_lstAllQ;
TGridDang m_grid;
int m_iFloorNum;
int m_iMode;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDangFloorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDangFloorDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButtonYes();
afx_msg void OnButtonNo();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DANGFLOORDLG_H__B17EA80A_59FC_4797_A66D_812FE58FDE1B__INCLUDED_)