peterzig

Form2 dla Krzyska

Jun 6th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. #pragma once
  2.  
  3. using namespace System;
  4. using namespace System::ComponentModel;
  5. using namespace System::Collections;
  6. using namespace System::Windows::Forms;
  7. using namespace System::Data;
  8. using namespace System::Drawing;
  9. using namespace std;
  10.  
  11. public ref class Form2 : public Form
  12. {
  13. private: System::Windows::Forms::PictureBox^ pictureBox1;
  14. private: System::Windows::Forms::Label^ label1;
  15. private: System::Windows::Forms::Label^ label2;
  16. private:
  17. PictureBox^ pctBox;
  18.  
  19. public:
  20. Form2()
  21. {
  22. InitializeComponent();
  23. }
  24.  
  25. void InitializeComponent()
  26. {
  27. this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
  28. this->label1 = (gcnew System::Windows::Forms::Label());
  29. this->label2 = (gcnew System::Windows::Forms::Label());
  30. (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->BeginInit();
  31. this->SuspendLayout();
  32. //
  33. // pictureBox1
  34. //
  35. this->pictureBox1->ImageLocation = L"krzysztof.jpg";
  36. this->pictureBox1->Location = System::Drawing::Point(12, 23);
  37. this->pictureBox1->Name = L"pictureBox1";
  38. this->pictureBox1->Size = System::Drawing::Size(184, 231);
  39. this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::Zoom;
  40. this->pictureBox1->TabIndex = 0;
  41. this->pictureBox1->TabStop = false;
  42. //
  43. // label1
  44. //
  45. this->label1->AutoSize = true;
  46. this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
  47. static_cast<System::Byte>(238)));
  48. this->label1->Location = System::Drawing::Point(220, 102);
  49. this->label1->Name = L"label1";
  50. this->label1->Size = System::Drawing::Size(277, 33);
  51. this->label1->TabIndex = 1;
  52. this->label1->Text = L"Krzysztof WitosiΕ„ski";
  53. //
  54. // label2
  55. //
  56. this->label2->AutoSize = true;
  57. this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
  58. static_cast<System::Byte>(238)));
  59. this->label2->Location = System::Drawing::Point(238, 140);
  60. this->label2->Name = L"label2";
  61. this->label2->Size = System::Drawing::Size(458, 29);
  62. this->label2->TabIndex = 2;
  63. this->label2->Text = L"Quiz o rasach psΓ³w - projekt zaliczeniowy";
  64. //
  65. // Form2
  66. //
  67. this->ClientSize = System::Drawing::Size(758, 280);
  68. this->Controls->Add(this->label2);
  69. this->Controls->Add(this->label1);
  70. this->Controls->Add(this->pictureBox1);
  71. this->Name = L"Form2";
  72. this->Text = L"O Autorze";
  73. (cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->EndInit();
  74. this->ResumeLayout(false);
  75. this->PerformLayout();
  76.  
  77. }
  78. };
Advertisement
Add Comment
Please, Sign In to add comment