📄 dialogbuilding.h
字号:
/* -*- Mode: C++;tab-width: 4 ;indent-tabs-mode: t; c-basic-offset: 4 -*- *//*** Copyright (c) 2001 OVS Labs.(Software Group) ***//*** Author: Oleg Shalnev ***//*** ***//*** This program is free software; you can redistribute it and/or ***//*** modify it under the terms of the GNU General Public License ***//*** as published by the Free Software Foundation; either version 2 ***//*** of the License, or (at your option) any later version. ***//*** ***//*** This program is distributed in the hope that it will be useful, ***//*** but WITHOUT ANY WARRANTY; without even the implied warranty of ***//*** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ***//*** GNU General Public License for more details. ***//*** ***//*** You should have received a copy of the GNU General Public License ***//*** along with this program; if not, write to the Free Software ***//*** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ***//*** ***/#ifndef __DIALOG_BUILDING_H__#define __DIALOG_BUILDING_H__#include <wx/wx.h>#include <wx/notebook.h>#include <ElvisProtocol.h>#include <Error.h>namespace ElvisClient{ const int DialogBuilding_ZIP_EDIT =10; const int DialogBuilding_BUILDTYPE_EDIT=11; class DialogBuilding : public wxDialog { public: DialogBuilding(); DialogBuilding(wxWindow*); ~DialogBuilding(); void OnCloseWindow(wxCloseEvent&); void OnCharHook(wxKeyEvent& event); void ButtonFindAction(wxCommandEvent& event); void ButtonPrintAction(wxCommandEvent& event); void ButtonAddAction(wxCommandEvent& event); void ButtonEditAction(wxCommandEvent& event); void ButtonCancelAction(wxCommandEvent& event); void ButtonDeleteAction(wxCommandEvent& event); void ButtonSaveAction(wxCommandEvent& event); void ButtonExitAction(wxCommandEvent& event); int ActivateServerDialog(); void CloseServerDialog(); void SetEditableEnable(); void SetEditableDisable(); void ClearFields(); wxNotebook *Notebook; wxPanel *DetailPanel; wxPanel *NotesPanel; wxStaticBox *GenInfo; wxStaticBox *Elevators; wxButton *ZipCodeButton; wxButton *BuildTypeButton; wxTextCtrl *BuildingID; wxTextCtrl *Contract; wxTextCtrl *CustBuildID; wxTextCtrl *Title; wxTextCtrl *Description; wxTextCtrl *Phone; wxTextCtrl *Address; wxTextCtrl *Address1; wxTextCtrl *ZipCode; wxTextCtrl *City; wxTextCtrl *State; wxTextCtrl *BuildingType; wxTextCtrl *MgmtCompany; wxTextCtrl *Route; wxTextCtrl *Mechanic; wxTextCtrl *Notes; wxStaticText *BuildingID_Label; wxStaticText *Contract_Label; wxStaticText *CustBuildID_Label; wxStaticText *Title_Label; wxStaticText *Description_Label; wxStaticText *Phone_Label; wxStaticText *Address_Label; wxStaticText *ZipCode_Label; wxStaticText *City_Label; wxStaticText *State_Label; wxStaticText *BuildingType_Label; wxStaticText *MgmtCompany_Label; wxStaticText *Route_Label; wxStaticText *Mechanic_Label; wxButton *FindButton; wxButton *PrintButton; wxButton *AddButton; wxButton *EditButton; wxButton *DeleteButton; wxButton *SaveButton; wxButton *CancelButton; wxButton *ExitButton; DECLARE_EVENT_TABLE() }; const int DialogBuilding_FIND_BUTTON=10; const int DialogBuilding_PRINT_BUTTON=15; const int DialogBuilding_ADD_BUTTON=25; const int DialogBuilding_EDIT_BUTTON=30; const int DialogBuilding_CANCEL_BUTTON=35; const int DialogBuilding_SAVE_BUTTON=37; const int DialogBuilding_DELETE_BUTTON=40; const int DialogBuilding_EXIT_BUTTON=45;}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -