0
|
1 // Filename : myframe.h
|
8
|
2 // Last Change: 19-Oct-2011.
|
0
|
3 //
|
|
4
|
|
5 #ifndef __myframe__
|
|
6 #define __myframe__
|
|
7
|
|
8 #include "common.h"
|
|
9
|
|
10 class MyFrame : public wxFrame
|
|
11 {
|
|
12 DECLARE_EVENT_TABLE()
|
|
13 private:
|
|
14 wxImageList* m_imageList;
|
4
|
15 wxArrayString m_undo;
|
0
|
16
|
|
17 protected:
|
|
18 wxMenuBar* m_menubarFile;
|
|
19 wxMenu* m_menuFile;
|
|
20 wxStatusBar* m_statusBar;
|
|
21
|
|
22 wxStaticText* m_staticTextWork;
|
|
23 wxDirPickerCtrl* m_dirPickerWork;
|
|
24 wxStaticText* m_staticTextDrive;
|
|
25 wxComboBox* m_comboBoxDrive;
|
|
26 wxStaticText* m_staticTextDate;
|
|
27 wxDatePickerCtrl* m_datePicker;
|
8
|
28 wxButton* m_buttonNextThu;
|
0
|
29 wxStaticText* m_staticTextCcn;
|
|
30 wxComboBox* m_comboBoxCcn;
|
|
31 wxButton* m_buttonMkDir;
|
|
32 wxStaticText* m_staticTextDist;
|
|
33 wxTextCtrl* m_textCtrlDist;
|
|
34
|
|
35 wxStaticText* m_staticTextName;
|
|
36 wxStaticBitmap* m_bitmapName;
|
|
37 wxStaticText* m_staticTextHhsno;
|
4
|
38 wxStaticBitmap* m_bitmapHhsno;
|
0
|
39 wxStaticText* m_staticTextGuess;
|
|
40 wxTextCtrl* m_textCtrlGuess;
|
|
41
|
|
42 wxListCtrl* m_listCtrlView;
|
1
|
43
|
|
44 wxButton* m_buttonDetect;
|
0
|
45 wxButton* m_buttonMove;
|
|
46 wxButton* m_buttonDel;
|
|
47 wxButton* m_buttonUndo;
|
|
48
|
|
49 public:
|
|
50 MyFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
|
|
51 ~MyFrame();
|
|
52
|
1
|
53 void OnParam(wxCommandEvent& event);
|
8
|
54 void OnNextThursday(wxCommandEvent& event);
|
3
|
55 void OnMakeDir(wxCommandEvent& event);
|
|
56 void GetImageInfo(wxListEvent& event);
|
2
|
57 void ViewLarge(wxListEvent& event);
|
1
|
58 void OnDetect(wxCommandEvent& event);
|
|
59 void OnMove(wxCommandEvent& event);
|
|
60 void OnMoveAndDetect(wxCommandEvent& event);
|
4
|
61 void OnDelete(wxCommandEvent& event);
|
|
62 void OnUndo(wxCommandEvent& event);
|
0
|
63 void ReadyImage(void);
|
|
64 // $B0J2<!$Dj7?$b$N(B
|
1
|
65 void OnWinSize(wxSizeEvent& event);
|
|
66 void OnWinMove(wxMoveEvent& event);
|
0
|
67 void TellLocation( void );
|
1
|
68 void OnOpenAppDir(wxCommandEvent& event);
|
0
|
69 void OnQuit(wxCommandEvent& event);
|
|
70 void SaveConfig(wxCloseEvent& event);
|
|
71 };
|
|
72
|
|
73 #endif // __myframe__
|
|
74
|