/*************************************************************** * Name: autostopMain.h * Purpose: Defines Application Frame * Author: multi (multikty@gmail.com) * Created: 2008-04-17 * Copyright: multi () * License: **************************************************************/ #ifndef AUTOSTOPMAIN_H #define AUTOSTOPMAIN_H //(*Headers(autostopFrame) #include #include #include #include #include #include #include #include #include #include #include //*) class autostopFrame: public wxFrame { public: autostopFrame(wxWindow* parent,wxWindowID id = -1); virtual ~autostopFrame(); private: //(*Handlers(autostopFrame) void OnQuit(wxCommandEvent& event); void OnAbout(wxCommandEvent& event); void OnTimer1Trigger(wxTimerEvent& event); void OnTimer2Trigger(wxTimerEvent& event); void OnbtnStartClick(wxCommandEvent& event); void OnbtnStopClick(wxCommandEvent& event); void OncmbQuitClick(wxCommandEvent& event); //*) //(*Identifiers(autostopFrame) static const long ID_STATICBOX1; static const long ID_STATICBOX2; static const long ID_STATICBOX3; static const long ID_BUTTON1; static const long ID_BUTTON2; static const long ID_BUTTON3; static const long ID_STATICTEXT1; static const long ID_STATICTEXT2; static const long ID_STATICTEXT3; static const long ID_DATEPICKERCTRL1; static const long ID_STATICTEXT4; static const long ID_STATICTEXT5; static const long ID_STATICTEXT6; static const long ID_COMBOBOX1; static const long ID_COMBOBOX2; static const long ID_COMBOBOX3; static const long ID_STATICTEXT7; static const long ID_STATICTEXT8; static const long ID_STATICTEXT9; static const long ID_COMBOBOX4; static const long ID_PANEL1; static const long idMenuQuit; static const long idMenuAbout; static const long ID_STATUSBAR1; static const long ID_TIMER1; static const long ID_TIMER2; //*) //(*Declarations(autostopFrame) wxComboBox* cmbHour; wxButton* btnStop; wxStaticText* StaticText2; wxButton* btnStart; wxStaticText* nowTime; wxStaticText* StaticText6; wxStaticText* nowDate; wxComboBox* cmbAction; wxPanel* Panel1; wxStaticText* StaticText1; wxStaticText* StaticText3; wxStaticBox* StaticBox1; wxButton* cmbQuit; wxStaticBox* StaticBox2; wxComboBox* cmbSecond; wxTimer Timer2; wxComboBox* cmbMinute; wxStaticText* StaticText5; wxStaticText* StaticText7; wxDatePickerCtrl* datePicker; wxStatusBar* StatusBar1; wxStaticBox* StaticBox3; wxStaticText* StaticText4; wxTimer Timer1; //*) DECLARE_EVENT_TABLE() }; #endif // AUTOSTOPMAIN_H