19
|
1 // Filename : ccnframe.h
|
21
|
2 // Last Change: 22-Jul-2011.
|
19
|
3 //
|
|
4
|
21
|
5 #ifndef __CCNFRAME__
|
|
6 #define __CCNFRAME__
|
19
|
7 #include "wx/wxprec.h"
|
|
8
|
|
9 #ifndef WX_PRECOMP
|
|
10 #include "wx/wx.h"
|
|
11 #include <wx/listctrl.h>
|
|
12 #include <wx/sizer.h>
|
|
13 #include <wx/button.h>
|
|
14 #include <wx/datectrl.h>
|
|
15 #include <wx/gbsizer.h>
|
21
|
16 #include "wx/dir.h"
|
|
17 #include "wx/regex.h"
|
|
18 #include "wx/progdlg.h"
|
|
19 #include "wx/stdpaths.h"
|
19
|
20 #endif
|
|
21
|
|
22 ///////////////////////////////////////////////////////////////////////////
|
|
23
|
|
24 ///////////////////////////////////////////////////////////////////////////////
|
|
25 /// Class FrameCcn
|
|
26 ///////////////////////////////////////////////////////////////////////////////
|
|
27 class FrameCcn : public wxFrame
|
|
28 {
|
|
29 DECLARE_EVENT_TABLE()
|
|
30 private:
|
|
31 wxPanel* m_Panel;
|
|
32 wxStaticText* m_staticText1;
|
|
33 wxStaticText* m_staticText2;
|
|
34 wxStaticText* m_staticText3;
|
|
35 wxListCtrl* m_listCtrlYmd;
|
|
36 wxStaticText* m_staticText4;
|
|
37 wxListCtrl* m_listCtrlCcn;
|
|
38 wxStaticText* m_staticText5;
|
|
39 wxListCtrl* m_listCtrlHhs;
|
|
40 wxButton* m_btnPrevThu;
|
|
41 wxButton* m_btnNextThu;
|
|
42 wxDatePickerCtrl* m_datePicker;
|
|
43 wxButton* m_btnMkIdX;
|
|
44 wxButton* m_btnClose;
|
|
45
|
|
46 public:
|
|
47 FrameCcn( wxWindow* parent, wxWindowID id = ID_FRAMECCN, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxFRAME_NO_TASKBAR|wxCAPTION|wxCLOSE_BOX|wxRESIZE_BORDER|wxSTAY_ON_TOP|wxTAB_TRAVERSAL );
|
|
48 ~FrameCcn();
|
|
49
|
|
50 void InitListCtrl(void);
|
21
|
51
|
|
52 void OnSelectYmd(wxListEvent&);
|
|
53 void OnSelectCcn(wxListEvent&);
|
|
54 void OnPrevThu(wxCommandEvent&);
|
|
55 void OnNextThu(wxCommandEvent&);
|
|
56 void OnMkIndex(wxCommandEvent&);
|
|
57 void OnClose(wxCommandEvent&);
|
19
|
58 };
|
|
59
|
21
|
60 #endif //__CCNFRAME__
|
19
|
61
|