Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- namespace projekt {
- 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::Button^ button1;
- private: System::Windows::Forms::TextBox^ textBox1;
- private: System::Windows::Forms::TextBox^ textBox2;
- private: System::Windows::Forms::TextBox^ textBox3;
- private: System::Windows::Forms::TextBox^ textBox4;
- private: System::Windows::Forms::TextBox^ textBox5;
- private: System::Windows::Forms::TextBox^ textBox6;
- private: System::Windows::Forms::TextBox^ textBox7;
- private: System::Windows::Forms::TextBox^ textBox8;
- private: System::Windows::Forms::TextBox^ textBox9;
- private: System::Windows::Forms::TextBox^ textBox10;
- private: System::Windows::Forms::TextBox^ textBox11;
- private: System::Windows::Forms::TextBox^ textBox12;
- private: System::Windows::Forms::TextBox^ textBox13;
- private: System::Windows::Forms::TextBox^ textBox14;
- private: System::Windows::Forms::TextBox^ textBox15;
- private: System::Windows::Forms::TextBox^ textBox16;
- private: System::Windows::Forms::TextBox^ textBox17;
- private: System::Windows::Forms::TextBox^ textBox18;
- private: System::Windows::Forms::TextBox^ textBox19;
- protected:
- 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->button1 = (gcnew System::Windows::Forms::Button());
- this->textBox1 = (gcnew System::Windows::Forms::TextBox());
- this->textBox2 = (gcnew System::Windows::Forms::TextBox());
- this->textBox3 = (gcnew System::Windows::Forms::TextBox());
- this->textBox4 = (gcnew System::Windows::Forms::TextBox());
- this->textBox5 = (gcnew System::Windows::Forms::TextBox());
- this->textBox6 = (gcnew System::Windows::Forms::TextBox());
- this->textBox7 = (gcnew System::Windows::Forms::TextBox());
- this->textBox8 = (gcnew System::Windows::Forms::TextBox());
- this->textBox9 = (gcnew System::Windows::Forms::TextBox());
- this->textBox10 = (gcnew System::Windows::Forms::TextBox());
- this->textBox11 = (gcnew System::Windows::Forms::TextBox());
- this->textBox12 = (gcnew System::Windows::Forms::TextBox());
- this->textBox13 = (gcnew System::Windows::Forms::TextBox());
- this->textBox14 = (gcnew System::Windows::Forms::TextBox());
- this->textBox15 = (gcnew System::Windows::Forms::TextBox());
- this->textBox16 = (gcnew System::Windows::Forms::TextBox());
- this->textBox17 = (gcnew System::Windows::Forms::TextBox());
- this->textBox18 = (gcnew System::Windows::Forms::TextBox());
- this->textBox19 = (gcnew System::Windows::Forms::TextBox());
- this->SuspendLayout();
- //
- // button1
- //
- this->button1->Location = System::Drawing::Point(181, 227);
- this->button1->Name = L"button1";
- this->button1->Size = System::Drawing::Size(75, 23);
- this->button1->TabIndex = 0;
- this->button1->Text = L"Zakończ";
- this->button1->UseVisualStyleBackColor = true;
- this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
- //
- // textBox1
- //
- this->textBox1->BackColor = System::Drawing::SystemColors::MenuText;
- this->textBox1->ForeColor = System::Drawing::SystemColors::Info;
- this->textBox1->Location = System::Drawing::Point(101, 12);
- this->textBox1->Name = L"textBox1";
- this->textBox1->Size = System::Drawing::Size(100, 20);
- this->textBox1->TabIndex = 1;
- this->textBox1->Text = L"SAPER";
- this->textBox1->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;
- //
- // textBox2
- //
- this->textBox2->Location = System::Drawing::Point(51, 53);
- this->textBox2->Name = L"textBox2";
- this->textBox2->Size = System::Drawing::Size(19, 20);
- this->textBox2->TabIndex = 2;
- this->textBox2->TextChanged += gcnew System::EventHandler(this, &Form1::textBox2_TextChanged);
- //
- // textBox3
- //
- this->textBox3->Location = System::Drawing::Point(76, 53);
- this->textBox3->Name = L"textBox3";
- this->textBox3->Size = System::Drawing::Size(19, 20);
- this->textBox3->TabIndex = 3;
- //
- // textBox4
- //
- this->textBox4->Location = System::Drawing::Point(101, 53);
- this->textBox4->Name = L"textBox4";
- this->textBox4->Size = System::Drawing::Size(19, 20);
- this->textBox4->TabIndex = 4;
- //
- // textBox5
- //
- this->textBox5->Location = System::Drawing::Point(51, 79);
- this->textBox5->Name = L"textBox5";
- this->textBox5->Size = System::Drawing::Size(19, 20);
- this->textBox5->TabIndex = 5;
- //
- // textBox6
- //
- this->textBox6->Location = System::Drawing::Point(126, 53);
- this->textBox6->Name = L"textBox6";
- this->textBox6->Size = System::Drawing::Size(19, 20);
- this->textBox6->TabIndex = 6;
- //
- // textBox7
- //
- this->textBox7->Location = System::Drawing::Point(76, 79);
- this->textBox7->Name = L"textBox7";
- this->textBox7->Size = System::Drawing::Size(19, 20);
- this->textBox7->TabIndex = 7;
- //
- // textBox8
- //
- this->textBox8->Location = System::Drawing::Point(101, 79);
- this->textBox8->Name = L"textBox8";
- this->textBox8->Size = System::Drawing::Size(19, 20);
- this->textBox8->TabIndex = 8;
- //
- // textBox9
- //
- this->textBox9->Location = System::Drawing::Point(126, 79);
- this->textBox9->Name = L"textBox9";
- this->textBox9->Size = System::Drawing::Size(19, 20);
- this->textBox9->TabIndex = 9;
- //
- // textBox10
- //
- this->textBox10->Location = System::Drawing::Point(51, 105);
- this->textBox10->Name = L"textBox10";
- this->textBox10->Size = System::Drawing::Size(19, 20);
- this->textBox10->TabIndex = 10;
- //
- // textBox11
- //
- this->textBox11->Location = System::Drawing::Point(76, 103);
- this->textBox11->Name = L"textBox11";
- this->textBox11->Size = System::Drawing::Size(19, 20);
- this->textBox11->TabIndex = 11;
- //
- // textBox12
- //
- this->textBox12->Location = System::Drawing::Point(101, 103);
- this->textBox12->Name = L"textBox12";
- this->textBox12->Size = System::Drawing::Size(19, 20);
- this->textBox12->TabIndex = 12;
- //
- // textBox13
- //
- this->textBox13->Location = System::Drawing::Point(126, 103);
- this->textBox13->Name = L"textBox13";
- this->textBox13->Size = System::Drawing::Size(19, 20);
- this->textBox13->TabIndex = 13;
- //
- // textBox14
- //
- this->textBox14->Location = System::Drawing::Point(51, 129);
- this->textBox14->Name = L"textBox14";
- this->textBox14->Size = System::Drawing::Size(19, 20);
- this->textBox14->TabIndex = 14;
- //
- // textBox15
- //
- this->textBox15->Location = System::Drawing::Point(76, 129);
- this->textBox15->Name = L"textBox15";
- this->textBox15->Size = System::Drawing::Size(19, 20);
- this->textBox15->TabIndex = 15;
- //
- // textBox16
- //
- this->textBox16->Location = System::Drawing::Point(101, 129);
- this->textBox16->Name = L"textBox16";
- this->textBox16->Size = System::Drawing::Size(19, 20);
- this->textBox16->TabIndex = 16;
- //
- // textBox17
- //
- this->textBox17->Location = System::Drawing::Point(126, 129);
- this->textBox17->Name = L"textBox17";
- this->textBox17->Size = System::Drawing::Size(19, 20);
- this->textBox17->TabIndex = 17;
- //
- // textBox18
- //
- this->textBox18->ForeColor = System::Drawing::SystemColors::MenuHighlight;
- this->textBox18->Location = System::Drawing::Point(172, 78);
- this->textBox18->Name = L"textBox18";
- this->textBox18->Size = System::Drawing::Size(100, 20);
- this->textBox18->TabIndex = 18;
- this->textBox18->Text = L"Twój wynik:";
- this->textBox18->TextAlign = System::Windows::Forms::HorizontalAlignment::Center;
- //
- // textBox19
- //
- this->textBox19->Location = System::Drawing::Point(172, 103);
- this->textBox19->Name = L"textBox19";
- this->textBox19->Size = System::Drawing::Size(100, 20);
- this->textBox19->TabIndex = 19;
- //
- // Form1
- //
- this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
- this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
- this->ClientSize = System::Drawing::Size(284, 262);
- this->Controls->Add(this->textBox19);
- this->Controls->Add(this->textBox18);
- this->Controls->Add(this->textBox17);
- this->Controls->Add(this->textBox16);
- this->Controls->Add(this->textBox15);
- this->Controls->Add(this->textBox14);
- this->Controls->Add(this->textBox13);
- this->Controls->Add(this->textBox12);
- this->Controls->Add(this->textBox11);
- this->Controls->Add(this->textBox10);
- this->Controls->Add(this->textBox9);
- this->Controls->Add(this->textBox8);
- this->Controls->Add(this->textBox7);
- this->Controls->Add(this->textBox6);
- this->Controls->Add(this->textBox5);
- this->Controls->Add(this->textBox4);
- this->Controls->Add(this->textBox3);
- this->Controls->Add(this->textBox2);
- this->Controls->Add(this->textBox1);
- this->Controls->Add(this->button1);
- this->Name = L"Form1";
- this->Text = L"Form1";
- this->ResumeLayout(false);
- this->PerformLayout();
- }
- #pragma endregion
- private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {Close();
- }
- private: System::Void textBox2_TextChanged(System::Object^ sender, System::EventArgs^ e) {
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment