-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcMain.h
55 lines (43 loc) · 1.03 KB
/
cMain.h
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
#pragma once
#include "wx/wx.h"
#include "wx/image.h"
#include "wx/grid.h"
#include "wx/bmpbuttn.h"
#include "wx/datetime.h"
#include "wx/ffile.h"
#include "AdminLogin.h"
#include "Seats.h";
class cMain : public wxFrame
{
public:
cMain();
~cMain();
//int id;
wxPanel* panel = nullptr;
wxBitmapButton* button = nullptr;
wxToolBar* m_ToolBar = nullptr;
wxMenuBar* m_MenuBar = nullptr;
wxButton* m_button = nullptr;
wxImage* m_Image = nullptr;
wxStaticText* m_name = nullptr;
wxStaticText* m_price = nullptr;
wxStaticBitmap* m_bitmap = nullptr;
wxStatusBar* stats = nullptr;
wxDateTime now = wxDateTime::Now();
wxString date1 = now.Format(wxT("%B %d %Y"));
//wxGrid* grid = nullptr;
wxGridSizer* gridSizer = nullptr;
//File
wxFFile* file = new wxFFile;
wxFFile* LastSeatFile = new wxFFile;
void OnMenuExit(wxCommandEvent& evt);
void OnAdmin(wxCommandEvent& evt);
void OnClick(wxCommandEvent& evt);
void DevelopBy(wxCommandEvent& evt);
wxDECLARE_EVENT_TABLE();
friend class Seats;
};
class seatId {
public:
int id;
};