Mercurial > mercurial > hgweb_rsearcher.cgi
comparison include/mngdb.h @ 11:799b6008db8e
auto-upgrade.
| author | pyon@macmini |
|---|---|
| date | Mon, 12 Nov 2018 19:35:50 +0900 |
| parents | |
| children | f5ffc34f045a |
comparison
equal
deleted
inserted
replaced
| 10:36811fd22bd2 | 11:799b6008db8e |
|---|---|
| 1 // Filename : mngdb.h | |
| 2 // Last Change: 2018-11-09 ‹à 09:02:17. | |
| 3 // | |
| 4 | |
| 5 #ifndef __MNGDB_H__ | |
| 6 #define __MNGDB_H__ | |
| 7 | |
| 8 #include <wx/gdicmn.h> | |
| 9 #include <wx/font.h> | |
| 10 #include <wx/colour.h> | |
| 11 #include <wx/settings.h> | |
| 12 #include <wx/button.h> | |
| 13 #include <wx/sizer.h> | |
| 14 #include <wx/stattext.h> | |
| 15 #include <wx/datectrl.h> | |
| 16 #include <wx/dateevt.h> | |
| 17 #include <wx/filepicker.h> | |
| 18 #include <wx/statline.h> | |
| 19 #include <wx/msgdlg.h> | |
| 20 | |
| 21 class ManageDBFrame : public wxFrame | |
| 22 { | |
| 23 DECLARE_EVENT_TABLE() | |
| 24 private: | |
| 25 wxString m_server; | |
| 26 | |
| 27 protected: | |
| 28 wxStaticText* m_staticTextDate; | |
| 29 wxDatePickerCtrl* m_datePicker; | |
| 30 wxStaticText* m_staticTextHhs; | |
| 31 wxFilePickerCtrl* m_filePickerHhs; | |
| 32 wxStaticText* m_staticTextCcn; | |
| 33 wxFilePickerCtrl* m_filePickerCcn; | |
| 34 wxStaticLine* m_staticline; | |
| 35 wxButton* m_buttonBuild; | |
| 36 wxButton* m_buttonUpld; | |
| 37 wxButton* m_buttonExit; | |
| 38 | |
| 39 public: | |
| 40 ManageDBFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxTAB_TRAVERSAL ); | |
| 41 ~ManageDBFrame(); | |
| 42 | |
| 43 void OnBuild( wxCommandEvent& event ); | |
| 44 void OnUpload( wxCommandEvent& event ); | |
| 45 void OnExit( wxCommandEvent& event ); | |
| 46 | |
| 47 void Upload( wxString file ); | |
| 48 void ClearServer( void ); | |
| 49 void UpdateDB( void ); | |
| 50 }; | |
| 51 | |
| 52 #endif //__MNGDB_H__ | |
| 53 |
