73 lines
1.8 KiB
C++
73 lines
1.8 KiB
C++
#if !defined(AFX_SCHEDGRPS_H__38B82B4B_3268_43D1_8515_CBA5FA723415__INCLUDED_)
|
|
#define AFX_SCHEDGRPS_H__38B82B4B_3268_43D1_8515_CBA5FA723415__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SchedGrps.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSchedGrps dialog
|
|
#include "gzcombo.h"
|
|
#include "gzrset.h"
|
|
#include "checkcombobox.h"
|
|
class CSchedGrps : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
bool m_bAddMode;
|
|
void SaveSelections();
|
|
void UpdateSelections();
|
|
void FillGroups();
|
|
void FillTechList();
|
|
~CSchedGrps();
|
|
CSchedGrps(CWnd* pParent = NULL); // standard constructor
|
|
CSpApp* m_pApp;
|
|
GZRset* rs;
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSchedGrps)
|
|
enum { IDD = IDD_DLG_SCHED_GRPS };
|
|
CEdit m_edName;
|
|
CCheckComboBox m_ckcbTechs;
|
|
CgzCombo m_cbGroups;
|
|
CButton m_btnDone;
|
|
CButton m_btnDelete;
|
|
CButton m_btnAdd;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSchedGrps)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSchedGrps)
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnOK();
|
|
afx_msg void OnBtnadd();
|
|
afx_msg void OnBtndelgrp();
|
|
afx_msg void OnBtndone();
|
|
afx_msg void OnCloseupCbgroup();
|
|
afx_msg void OnCloseupCbtechs();
|
|
afx_msg void OnKillfocusEdname();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
bool m_bReadOnly;
|
|
void Security();
|
|
public:
|
|
CString m_strSelectedGroup;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SCHEDGRPS_H__38B82B4B_3268_43D1_8515_CBA5FA723415__INCLUDED_)
|