35 lines
788 B
C++
35 lines
788 B
C++
#pragma once
|
|
#include <wx/wx.h>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
class ReservationDialog : public wxDialog
|
|
{
|
|
public:
|
|
ReservationDialog();
|
|
ReservationDialog(string, string, string, string, string);
|
|
|
|
void Ok(wxCommandEvent&);
|
|
void Cancel(wxCommandEvent&);
|
|
|
|
wxTextEntry* txtName = nullptr;
|
|
wxTextEntry* txtNumber = nullptr;
|
|
wxTextEntry* txtSize = nullptr;
|
|
wxTextEntry* txtTime = nullptr;
|
|
wxTextEntry* txtDate = nullptr;
|
|
|
|
wxStaticText* lblName = nullptr;
|
|
wxStaticText* lblNumber = nullptr;
|
|
wxStaticText* lblSize = nullptr;
|
|
wxStaticText* lblTime = nullptr;
|
|
wxStaticText* lblDate = nullptr;
|
|
|
|
wxButton* btnOk = nullptr;
|
|
wxButton* btnCancel = nullptr;
|
|
|
|
string size, name, number, date, time;
|
|
bool canceled;
|
|
|
|
wxDECLARE_EVENT_TABLE();
|
|
}; |