235 lines
8.9 KiB
C++
235 lines
8.9 KiB
C++
#pragma once
|
|
|
|
namespace Project3 {
|
|
|
|
using namespace System;
|
|
using namespace System::ComponentModel;
|
|
using namespace System::Collections;
|
|
using namespace System::Windows::Forms;
|
|
using namespace System::Data;
|
|
using namespace System::Drawing;
|
|
|
|
/// <summary>
|
|
/// Summary for Form1
|
|
/// </summary>
|
|
public ref class Form1 : public System::Windows::Forms::Form
|
|
{
|
|
public:
|
|
Form1(void)
|
|
{
|
|
InitializeComponent();
|
|
//
|
|
//TODO: Add the constructor code here
|
|
//
|
|
}
|
|
|
|
protected:
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
~Form1()
|
|
{
|
|
if (components)
|
|
{
|
|
delete components;
|
|
}
|
|
}
|
|
private: System::Windows::Forms::TextBox^ textBox1;
|
|
protected:
|
|
private: System::Windows::Forms::MenuStrip^ menuStrip1;
|
|
private: System::Windows::Forms::ToolStripMenuItem^ fileToolStripMenuItem;
|
|
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
|
|
private: System::Windows::Forms::ToolStripMenuItem^ helpToolStripMenuItem;
|
|
private: System::Windows::Forms::ToolStripMenuItem^ aboutwayToolStripMenuItem;
|
|
private: System::Windows::Forms::GroupBox^ groupBox1;
|
|
private: System::Windows::Forms::GroupBox^ groupBox2;
|
|
private: System::Windows::Forms::TextBox^ textBox2;
|
|
private: System::Windows::Forms::Button^ button1;
|
|
private: System::Windows::Forms::Button^ button2;
|
|
private: System::Windows::Forms::GroupBox^ groupBox3;
|
|
private: System::Windows::Forms::TextBox^ textBox3;
|
|
|
|
private:
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
System::ComponentModel::Container ^components;
|
|
|
|
#pragma region Windows Form Designer generated code
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
void InitializeComponent(void)
|
|
{
|
|
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
|
|
this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
|
|
this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
|
|
this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
|
|
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
|
|
this->button1 = (gcnew System::Windows::Forms::Button());
|
|
this->button2 = (gcnew System::Windows::Forms::Button());
|
|
this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
|
|
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
|
|
this->aboutwayToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
this->menuStrip1->SuspendLayout();
|
|
this->groupBox1->SuspendLayout();
|
|
this->groupBox2->SuspendLayout();
|
|
this->groupBox3->SuspendLayout();
|
|
this->SuspendLayout();
|
|
//
|
|
// textBox1
|
|
//
|
|
this->textBox1->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
this->textBox1->Location = System::Drawing::Point(3, 16);
|
|
this->textBox1->Multiline = true;
|
|
this->textBox1->Name = L"textBox1";
|
|
this->textBox1->Size = System::Drawing::Size(490, 151);
|
|
this->textBox1->TabIndex = 0;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {this->fileToolStripMenuItem,
|
|
this->helpToolStripMenuItem});
|
|
this->menuStrip1->Location = System::Drawing::Point(0, 0);
|
|
this->menuStrip1->Name = L"menuStrip1";
|
|
this->menuStrip1->Size = System::Drawing::Size(520, 24);
|
|
this->menuStrip1->TabIndex = 1;
|
|
this->menuStrip1->Text = L"menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->exitToolStripMenuItem});
|
|
this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem";
|
|
this->fileToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::F));
|
|
this->fileToolStripMenuItem->Size = System::Drawing::Size(47, 20);
|
|
this->fileToolStripMenuItem->Text = L"Ile&fay";
|
|
//
|
|
// exitToolStripMenuItem
|
|
//
|
|
this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";
|
|
this->exitToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::F4));
|
|
this->exitToolStripMenuItem->Size = System::Drawing::Size(155, 22);
|
|
this->exitToolStripMenuItem->Text = L"&Exitway";
|
|
//
|
|
// helpToolStripMenuItem
|
|
//
|
|
this->helpToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->aboutwayToolStripMenuItem});
|
|
this->helpToolStripMenuItem->Name = L"helpToolStripMenuItem";
|
|
this->helpToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::H));
|
|
this->helpToolStripMenuItem->Size = System::Drawing::Size(54, 20);
|
|
this->helpToolStripMenuItem->Text = L"Elp&hay";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this->groupBox1->Controls->Add(this->textBox1);
|
|
this->groupBox1->Location = System::Drawing::Point(12, 27);
|
|
this->groupBox1->Name = L"groupBox1";
|
|
this->groupBox1->Size = System::Drawing::Size(496, 170);
|
|
this->groupBox1->TabIndex = 2;
|
|
this->groupBox1->TabStop = false;
|
|
this->groupBox1->Text = L"Originalway Exttay";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this->groupBox2->Controls->Add(this->textBox2);
|
|
this->groupBox2->Location = System::Drawing::Point(9, 275);
|
|
this->groupBox2->Name = L"groupBox2";
|
|
this->groupBox2->Size = System::Drawing::Size(496, 170);
|
|
this->groupBox2->TabIndex = 3;
|
|
this->groupBox2->TabStop = false;
|
|
this->groupBox2->Text = L"Anslatedtray Exttay";
|
|
//
|
|
// textBox2
|
|
//
|
|
this->textBox2->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
this->textBox2->Location = System::Drawing::Point(3, 16);
|
|
this->textBox2->Multiline = true;
|
|
this->textBox2->Name = L"textBox2";
|
|
this->textBox2->Size = System::Drawing::Size(490, 151);
|
|
this->textBox2->TabIndex = 0;
|
|
//
|
|
// button1
|
|
//
|
|
this->button1->Location = System::Drawing::Point(139, 215);
|
|
this->button1->Name = L"button1";
|
|
this->button1->Size = System::Drawing::Size(243, 44);
|
|
this->button1->TabIndex = 4;
|
|
this->button1->Text = L"Anslatetray!";
|
|
this->button1->UseVisualStyleBackColor = true;
|
|
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
|
|
//
|
|
// button2
|
|
//
|
|
this->button2->Location = System::Drawing::Point(139, 471);
|
|
this->button2->Name = L"button2";
|
|
this->button2->Size = System::Drawing::Size(243, 44);
|
|
this->button2->TabIndex = 5;
|
|
this->button2->Text = L"Eray-Anslatetray!";
|
|
this->button2->UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox3
|
|
//
|
|
this->groupBox3->Controls->Add(this->textBox3);
|
|
this->groupBox3->Location = System::Drawing::Point(15, 534);
|
|
this->groupBox3->Name = L"groupBox3";
|
|
this->groupBox3->Size = System::Drawing::Size(496, 170);
|
|
this->groupBox3->TabIndex = 4;
|
|
this->groupBox3->TabStop = false;
|
|
this->groupBox3->Text = L"Eray-anslatedtray Exttay";
|
|
//
|
|
// textBox3
|
|
//
|
|
this->textBox3->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
this->textBox3->Location = System::Drawing::Point(3, 16);
|
|
this->textBox3->Multiline = true;
|
|
this->textBox3->Name = L"textBox3";
|
|
this->textBox3->Size = System::Drawing::Size(490, 151);
|
|
this->textBox3->TabIndex = 0;
|
|
//
|
|
// aboutwayToolStripMenuItem
|
|
//
|
|
this->aboutwayToolStripMenuItem->Name = L"aboutwayToolStripMenuItem";
|
|
this->aboutwayToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>(((System::Windows::Forms::Keys::Control | System::Windows::Forms::Keys::Alt)
|
|
| System::Windows::Forms::Keys::A));
|
|
this->aboutwayToolStripMenuItem->Size = System::Drawing::Size(193, 22);
|
|
this->aboutwayToolStripMenuItem->Text = L"&Aboutway";
|
|
//
|
|
// Form1
|
|
//
|
|
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
|
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
|
this->ClientSize = System::Drawing::Size(520, 728);
|
|
this->Controls->Add(this->groupBox3);
|
|
this->Controls->Add(this->button2);
|
|
this->Controls->Add(this->button1);
|
|
this->Controls->Add(this->groupBox2);
|
|
this->Controls->Add(this->groupBox1);
|
|
this->Controls->Add(this->menuStrip1);
|
|
this->MainMenuStrip = this->menuStrip1;
|
|
this->Name = L"Form1";
|
|
this->Text = L"Igpay Atinlay Anslatortay";
|
|
this->menuStrip1->ResumeLayout(false);
|
|
this->menuStrip1->PerformLayout();
|
|
this->groupBox1->ResumeLayout(false);
|
|
this->groupBox1->PerformLayout();
|
|
this->groupBox2->ResumeLayout(false);
|
|
this->groupBox2->PerformLayout();
|
|
this->groupBox3->ResumeLayout(false);
|
|
this->groupBox3->PerformLayout();
|
|
this->ResumeLayout(false);
|
|
this->PerformLayout();
|
|
|
|
}
|
|
#pragma endregion
|
|
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
|
|
{
|
|
|
|
}
|
|
};
|
|
}
|
|
|