-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTGdesk_main_frame.cpp
64 lines (51 loc) · 1.4 KB
/
TGdesk_main_frame.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#include "TGdesk_main_frame.h"
TGdesk_main_frame::TGdesk_main_frame( wxWindow* parent )
:
main_frame( parent )
{
}
void TGdesk_main_frame::main_frameOnClose( wxCloseEvent& event )
{
Destroy();
}
void TGdesk_main_frame::logoutOnButtonClick( wxCommandEvent& event )
{
for(char& c : token) c = '\0';
wxDialog *logging = new TGdesk_login_dial(NULL,this);
logging->Show(true);
Disable();
}
void TGdesk_main_frame::add_car_buttonOnButtonClick( wxCommandEvent& event )
{
wxFrame *form = new TGdesk_add_car_form(this);
form->Show(true);
Disable();
}
void TGdesk_main_frame::import_buttonOnButtonClick( wxCommandEvent& event )
{
// TODO: Implement import_buttonOnButtonClick
}
void TGdesk_main_frame::del_buttonOnButtonClick( wxCommandEvent& event )
{
Disable();
wxDialog *form = new TGdesk_delete_client_form(this);
form->Show();
}
void TGdesk_main_frame::export_client_buttonOnButtonClick( wxCommandEvent& event )
{
// TODO: Implement export_client_buttonOnButtonClick
}
void TGdesk_main_frame::export_buttonOnButtonClick( wxCommandEvent& event )
{
// TODO: Implement export_buttonOnButtonClick
}
// void TGdesk_main_frame::add_client_buttonOnButtonClick( wxCommandEvent& event )
// {
// wxDialog * form = new TGdesk_add_client_form(this);
// form->Show();
// Disable();
// }
// void TGdesk_main_frame::import_client_buttonOnButtonClick( wxCommandEvent& event )
// {
// // TODO: Implement import_client_buttonOnButtonClick
// }