Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- using namespace System;
- using namespace System::ComponentModel;
- using namespace System::Collections;
- using namespace System::Windows::Forms;
- using namespace System::Data;
- using namespace System::Drawing;
- using namespace std;
- public ref class Form2 : public Form
- {
- private: System::Windows::Forms::PictureBox^ pictureBox1;
- private: System::Windows::Forms::Label^ label1;
- private: System::Windows::Forms::Label^ label2;
- private:
- PictureBox^ pctBox;
- public:
- Form2()
- {
- InitializeComponent();
- }
- void InitializeComponent()
- {
- this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
- this->label1 = (gcnew System::Windows::Forms::Label());
- this->label2 = (gcnew System::Windows::Forms::Label());
- (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->BeginInit();
- this->SuspendLayout();
- //
- // pictureBox1
- //
- this->pictureBox1->ImageLocation = L"krzysztof.jpg";
- this->pictureBox1->Location = System::Drawing::Point(12, 23);
- this->pictureBox1->Name = L"pictureBox1";
- this->pictureBox1->Size = System::Drawing::Size(184, 231);
- this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::Zoom;
- this->pictureBox1->TabIndex = 0;
- this->pictureBox1->TabStop = false;
- //
- // label1
- //
- this->label1->AutoSize = true;
- this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
- static_cast<System::Byte>(238)));
- this->label1->Location = System::Drawing::Point(220, 102);
- this->label1->Name = L"label1";
- this->label1->Size = System::Drawing::Size(277, 33);
- this->label1->TabIndex = 1;
- this->label1->Text = L"Krzysztof WitosiΕski";
- //
- // label2
- //
- this->label2->AutoSize = true;
- this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
- static_cast<System::Byte>(238)));
- this->label2->Location = System::Drawing::Point(238, 140);
- this->label2->Name = L"label2";
- this->label2->Size = System::Drawing::Size(458, 29);
- this->label2->TabIndex = 2;
- this->label2->Text = L"Quiz o rasach psΓ³w - projekt zaliczeniowy";
- //
- // Form2
- //
- this->ClientSize = System::Drawing::Size(758, 280);
- this->Controls->Add(this->label2);
- this->Controls->Add(this->label1);
- this->Controls->Add(this->pictureBox1);
- this->Name = L"Form2";
- this->Text = L"O Autorze";
- (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->EndInit();
- this->ResumeLayout(false);
- this->PerformLayout();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment