comparison include/hhsdb.h @ 0:c174ac668e9f

First commit ! (ver2.8)
author pyon@macmini
date Tue, 05 Apr 2011 18:44:57 +0900
parents
children e0cf49906039
comparison
equal deleted inserted replaced
-1:000000000000 0:c174ac668e9f
1 // Filename : hhsdb.h
2 // Last Change: 04-Mar-2011.
3 //
4 #ifndef HHSDB
5 #define HHSDB
6
7 #include "common.h"
8 #include "wx/wxprec.h"
9
10 #ifndef WX_PRECOMP
11 #include "wx/wx.h"
12 #include "wx/textctrl.h"
13 #include "wx/grid.h"
14 #include "wx/filepicker.h"
15 #endif
16
17 class FrameHhsDB : public wxFrame
18 {
19 DECLARE_EVENT_TABLE()
20 private:
21
22 protected:
23 wxPanel *m_panel;
24 wxFilePickerCtrl *m_filePicker;
25 wxGrid *m_grid;
26 wxStaticText *m_staticText;
27 wxTextCtrl *m_textCtrlPassword;
28 wxButton *m_btnDBUpdate;
29 wxButton *m_btnCancel;
30
31 public:
32 FrameHhsDB( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("HHS DB Update"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxCAPTION|wxFRAME_FLOAT_ON_PARENT|wxFRAME_NO_TASKBAR|wxTAB_TRAVERSAL );
33 ~FrameHhsDB();
34
35 void CheckPassword(wxCommandEvent&);
36 void UpdateHhsDB(wxCommandEvent&);
37 void ReadCSV(wxFileDirPickerEvent&);
38 void OnClose(wxCommandEvent&);
39 };
40
41 #endif
42