From df5b975bb2a2c4621f5f8fd93d711e21a75e7acf Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Tue, 10 Nov 2020 00:14:47 +0300 Subject: =?UTF-8?q?=D0=9F=D0=BE=D1=87=D0=B8=D1=81=D1=82=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8?= =?UTF-8?q?=D0=B8=20=D0=B8=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BA=D0=BE=D0=B4=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task01/Guschin/Guschin.vcxproj.filters | 2 +- task01/Guschin/Guschin.vcxproj.user | 2 +- task01/Guschin/MyForm.h | 28 ++++++++++++++-------------- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'task01/Guschin') diff --git a/task01/Guschin/Guschin.vcxproj.filters b/task01/Guschin/Guschin.vcxproj.filters index c9ea7e5..67cf053 100644 --- a/task01/Guschin/Guschin.vcxproj.filters +++ b/task01/Guschin/Guschin.vcxproj.filters @@ -1,4 +1,4 @@ - + diff --git a/task01/Guschin/Guschin.vcxproj.user b/task01/Guschin/Guschin.vcxproj.user index 88a5509..824d5a9 100644 --- a/task01/Guschin/Guschin.vcxproj.user +++ b/task01/Guschin/Guschin.vcxproj.user @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/task01/Guschin/MyForm.h b/task01/Guschin/MyForm.h index f1d2add..3d4a6f1 100644 --- a/task01/Guschin/MyForm.h +++ b/task01/Guschin/MyForm.h @@ -10,7 +10,7 @@ namespace Guschin { using namespace System::Drawing; /// - /// MyForm + /// Сводка для MyForm /// public ref class MyForm : public System::Windows::Forms::Form { @@ -19,13 +19,13 @@ namespace Guschin { { InitializeComponent(); // - //TODO: + //TODO: добавьте код конструктора // } protected: /// - /// . + /// Освободить все используемые ресурсы. /// ~MyForm() { @@ -46,14 +46,14 @@ namespace Guschin { private: /// - /// . + /// Обязательная переменная конструктора. /// System::ComponentModel::Container^ components; #pragma region Windows Form Designer generated code /// - /// - /// . + /// Требуемый метод для поддержки конструктора — не изменяйте + /// содержимое этого метода с помощью редактора кода. /// void InitializeComponent(void) { @@ -73,9 +73,9 @@ namespace Guschin { this->label1->Name = L"label1"; this->label1->Size = System::Drawing::Size(442, 90); this->label1->TabIndex = 0; - this->label1->Text = L", . " - L" . , - " - L" . ."; + this->label1->Text = L"Привет, я молдавский вирус. Мой автор слишком беден и поэтому я не могу ничего сд" + L"елать твоему компьютеру. Пожалуйста, удали какой-нибудь файл и перечисли деньги " + L"по указанному счёту. Спасибо."; this->label1->Click += gcnew System::EventHandler(this, &MyForm::label1_Click); // // textBox1 @@ -96,7 +96,7 @@ namespace Guschin { this->label2->Name = L"label2"; this->label2->Size = System::Drawing::Size(66, 20); this->label2->TabIndex = 2; - this->label2->Text = L": "; + this->label2->Text = L"Сумма: "; // // button1 // @@ -106,7 +106,7 @@ namespace Guschin { this->button1->Name = L"button1"; this->button1->Size = System::Drawing::Size(103, 37); this->button1->TabIndex = 3; - this->button1->Text = L""; + this->button1->Text = L"Отправить"; this->button1->UseVisualStyleBackColor = true; // // currency @@ -118,7 +118,7 @@ namespace Guschin { this->currency->Name = L"currency"; this->currency->Size = System::Drawing::Size(55, 17); this->currency->TabIndex = 4; - this->currency->Text = L""; + this->currency->Text = L"рублей"; // // MyForm // @@ -132,7 +132,7 @@ namespace Guschin { this->Controls->Add(this->label1); this->DoubleBuffered = true; this->Name = L"MyForm"; - this->Text = L" "; + this->Text = L"Молдавский вирус"; this->Paint += gcnew System::Windows::Forms::PaintEventHandler(this, &MyForm::MyForm_Paint); this->Resize += gcnew System::EventHandler(this, &MyForm::MyForm_Resize); this->ResumeLayout(false); @@ -155,7 +155,7 @@ namespace Guschin { SolidBrush^ drawBrush = gcnew SolidBrush(Color::Green); System::Drawing::Font^ drawFont = gcnew System::Drawing::Font("Comic Sans MS", 20); - g->DrawString(" ", drawFont, drawBrush, 40, 400); + g->DrawString("хаха надпись", drawFont, drawBrush, 40, 400); Pen^ sqarePen = gcnew Pen(Color::Green, 5); g->DrawLine(sqarePen, 0, ClientRectangle.Height / 3, ClientRectangle.Width / 3 * 2, 0); -- cgit v1.2.3