16
|
1 // Filename : index.h
|
|
2 // Last Change: 2019-07-09 ‰Î 12:59:22.
|
|
3 //
|
|
4
|
|
5 #pragma once
|
|
6
|
|
7 #include <wx/xrc/xmlres.h>
|
|
8 #include <wx/scrolwin.h>
|
|
9 #include <wx/gdicmn.h>
|
|
10 #include <wx/font.h>
|
|
11 #include <wx/colour.h>
|
|
12 #include <wx/settings.h>
|
|
13 #include <wx/string.h>
|
|
14 #include <wx/icon.h>
|
|
15 #include <wx/textctrl.h>
|
|
16 #include <wx/dataview.h>
|
|
17 #include <wx/sizer.h>
|
|
18 #include <wx/frame.h>
|
|
19 #include <wx/stattext.h>
|
|
20 #include <wx/datectrl.h>
|
|
21 #include <wx/listbox.h>
|
|
22 #include <wx/dateevt.h>
|
|
23
|
|
24 class IndexFrame : public wxFrame
|
|
25 {
|
|
26 DECLARE_EVENT_TABLE()
|
|
27 private:
|
|
28
|
|
29 protected:
|
|
30 wxStaticText* m_staticTextDrive;
|
|
31 wxChoice* m_choiceDrive;
|
|
32 wxStaticText* m_staticTextYear;
|
|
33 wxChoice* m_choiceYear;
|
|
34 wxStaticText* m_staticTextDate;
|
|
35 wxListBox* m_listBoxDate;
|
|
36 wxStaticText* m_staticTextCcn;
|
|
37 wxListBox* m_listBoxCcn;
|
|
38
|
|
39 wxDataViewListCtrl* m_dataViewListCtrl;
|
|
40 wxDataViewColumn* m_dataViewListColumnNo;
|
|
41 wxDataViewColumn* m_dataViewListColumnHno;
|
|
42 wxDataViewColumn* m_dataViewListColumnName;
|
|
43 wxDataViewColumn* m_dataViewListColumnKana;
|
|
44
|
|
45 public:
|
|
46 IndexFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxCAPTION|wxCLOSE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
|
|
47 ~IndexFrame();
|
|
48
|
|
49 void OnDrive( wxCommandEvent& event );
|
|
50 void OnYear( wxCommandEvent& event );
|
|
51 void OnDate( wxCommandEvent& event );
|
|
52 void OnCcn( wxCommandEvent& event );
|
|
53
|
|
54 void CreateControls( void );
|
|
55 };
|
|
56
|