-
Notifications
You must be signed in to change notification settings - Fork 0
/
MenuForm.h
78 lines (71 loc) · 2.4 KB
/
MenuForm.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#pragma once
namespace oczko {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
public ref class MenuForm : public System::Windows::Forms::Form
{
public:
MenuForm(void)
{
InitializeComponent();
WindowState = System::Windows::Forms::FormWindowState::Maximized;
}
protected:
~MenuForm()
{
if (components)
{
delete components;
}
}
private:
System::Void StartButton_Click(System::Object^ sender, System::EventArgs^ e);
System::Windows::Forms::Button^ StartButton;
System::Windows::Forms::TextBox^ StartMoneyTextBox;
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(MenuForm::typeid));
this->StartButton = (gcnew System::Windows::Forms::Button());
this->StartMoneyTextBox = (gcnew System::Windows::Forms::TextBox());
this->SuspendLayout();
//
// StartButton
//
this->StartButton->Location = System::Drawing::Point(723, 577);
this->StartButton->Name = L"StartButton";
this->StartButton->Size = System::Drawing::Size(240, 101);
this->StartButton->TabIndex = 0;
this->StartButton->Text = L"Start";
this->StartButton->UseVisualStyleBackColor = true;
this->StartButton->Click += gcnew System::EventHandler(this, &MenuForm::StartButton_Click);
//
// StartMoneyTextBox
//
this->StartMoneyTextBox->Location = System::Drawing::Point(723, 209);
this->StartMoneyTextBox->Name = L"StartMoneyTextBox";
this->StartMoneyTextBox->Size = System::Drawing::Size(216, 22);
this->StartMoneyTextBox->TabIndex = 1;
this->StartMoneyTextBox->Text = L"1000";
//
// MenuForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(1742, 833);
this->Controls->Add(this->StartMoneyTextBox);
this->Controls->Add(this->StartButton);
this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon")));
this->Name = L"MenuForm";
this->Text = L"MenuForm";
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
};
}