daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest May 16th, 2018 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma once
  2.  
  3. namespace Kalkulatorek {
  4.  
  5.     using namespace System;
  6.     using namespace System::ComponentModel;
  7.     using namespace System::Collections;
  8.     using namespace System::Windows::Forms;
  9.     using namespace System::Data;
  10.     using namespace System::Drawing;
  11.  
  12.     /// <summary>
  13.     /// Summary for Form1
  14.     /// </summary>
  15.     public ref class Form1 : public System::Windows::Forms::Form
  16.     {
  17.     public:
  18.         Form1(void)
  19.         {
  20.             InitializeComponent();
  21.             //
  22.             //TODO: Add the constructor code here
  23.             //
  24.         }
  25.  
  26.     protected:
  27.         /// <summary>
  28.         /// Clean up any resources being used.
  29.         /// </summary>
  30.         ~Form1()
  31.         {
  32.             if (components)
  33.             {
  34.                 delete components;
  35.             }
  36.         }
  37.     private: System::Windows::Forms::Button^  button1;
  38.     protected:
  39.     private: System::Windows::Forms::Button^  button2;
  40.     private: System::Windows::Forms::Button^  button3;
  41.     private: System::Windows::Forms::TextBox^  textBox1;
  42.     private: System::Windows::Forms::TextBox^  textBox2;
  43.     private: System::Windows::Forms::Button^  button4;
  44.     private: System::Windows::Forms::TextBox^  textBox3;
  45.  
  46.     private:
  47.         /// <summary>
  48.         /// Required designer variable.
  49.         /// </summary>
  50.         System::ComponentModel::Container ^components;
  51.  
  52. #pragma region Windows Form Designer generated code
  53.         /// <summary>
  54.         /// Required method for Designer support - do not modify
  55.         /// the contents of this method with the code editor.
  56.         /// </summary>
  57.         void InitializeComponent(void)
  58.         {
  59.             this->button1 = (gcnew System::Windows::Forms::Button());
  60.             this->button2 = (gcnew System::Windows::Forms::Button());
  61.             this->button3 = (gcnew System::Windows::Forms::Button());
  62.             this->textBox1 = (gcnew System::Windows::Forms::TextBox());
  63.             this->textBox2 = (gcnew System::Windows::Forms::TextBox());
  64.             this->button4 = (gcnew System::Windows::Forms::Button());
  65.             this->textBox3 = (gcnew System::Windows::Forms::TextBox());
  66.             this->SuspendLayout();
  67.             //
  68.             // button1
  69.             //
  70.             this->button1->Location = System::Drawing::Point(71, 213);
  71.             this->button1->Name = L"button1";
  72.             this->button1->Size = System::Drawing::Size(147, 39);
  73.             this->button1->TabIndex = 0;
  74.             this->button1->Text = L"Oblicz";
  75.             this->button1->UseVisualStyleBackColor = true;
  76.             //
  77.             // button2
  78.             //
  79.             this->button2->Location = System::Drawing::Point(30, 45);
  80.             this->button2->Name = L"button2";
  81.             this->button2->Size = System::Drawing::Size(116, 22);
  82.             this->button2->TabIndex = 1;
  83.             this->button2->Text = L"Stopień pierwiastka";
  84.             this->button2->UseVisualStyleBackColor = true;
  85.             //
  86.             // button3
  87.             //
  88.             this->button3->Location = System::Drawing::Point(30, 86);
  89.             this->button3->Name = L"button3";
  90.             this->button3->Size = System::Drawing::Size(116, 22);
  91.             this->button3->TabIndex = 2;
  92.             this->button3->Text = L"Liczba";
  93.             this->button3->UseVisualStyleBackColor = true;
  94.             //
  95.             // textBox1
  96.             //
  97.             this->textBox1->Location = System::Drawing::Point(178, 45);
  98.             this->textBox1->Name = L"textBox1";
  99.             this->textBox1->Size = System::Drawing::Size(96, 20);
  100.             this->textBox1->TabIndex = 3;
  101.             //
  102.             // textBox2
  103.             //
  104.             this->textBox2->Location = System::Drawing::Point(180, 90);
  105.             this->textBox2->Name = L"textBox2";
  106.             this->textBox2->Size = System::Drawing::Size(93, 20);
  107.             this->textBox2->TabIndex = 4;
  108.             //
  109.             // button4
  110.             //
  111.             this->button4->Location = System::Drawing::Point(30, 130);
  112.             this->button4->Name = L"button4";
  113.             this->button4->Size = System::Drawing::Size(116, 22);
  114.             this->button4->TabIndex = 5;
  115.             this->button4->Text = L"Wynik";
  116.             this->button4->UseVisualStyleBackColor = true;
  117.             //
  118.             // textBox3
  119.             //
  120.             this->textBox3->Location = System::Drawing::Point(180, 132);
  121.             this->textBox3->Name = L"textBox3";
  122.             this->textBox3->Size = System::Drawing::Size(93, 20);
  123.             this->textBox3->TabIndex = 6;
  124.             //
  125.             // Form1
  126.             //
  127.             this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  128.             this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  129.             this->ClientSize = System::Drawing::Size(286, 264);
  130.             this->Controls->Add(this->textBox3);
  131.             this->Controls->Add(this->button4);
  132.             this->Controls->Add(this->textBox2);
  133.             this->Controls->Add(this->textBox1);
  134.             this->Controls->Add(this->button3);
  135.             this->Controls->Add(this->button2);
  136.             this->Controls->Add(this->button1);
  137.             this->Name = L"Form1";
  138.             this->Text = L"Kalkulator";
  139.             this->ResumeLayout(false);
  140.             this->PerformLayout();
  141.  
  142.         }
  143. #pragma endregion
  144.     };
  145. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top