summaryrefslogtreecommitdiff
path: root/task01/Guschin/MyForm.h
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2020-11-10 00:14:47 +0300
committerAndrew Guschin <saintruler@gmail.com>2020-11-10 00:14:47 +0300
commitdf5b975bb2a2c4621f5f8fd93d711e21a75e7acf (patch)
tree10c2c430a0e6e83ee89dee431c70a0745c1bed11 /task01/Guschin/MyForm.h
parent6ec61f84c354ed5c78a9782e678b425068fee846 (diff)
Почистил комментарии и исправил кодировки
Diffstat (limited to 'task01/Guschin/MyForm.h')
-rw-r--r--task01/Guschin/MyForm.h28
1 files changed, 14 insertions, 14 deletions
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;
/// <summary>
- /// MyForm
+ /// Сводка для MyForm
/// </summary>
public ref class MyForm : public System::Windows::Forms::Form
{
@@ -19,13 +19,13 @@ namespace Guschin {
{
InitializeComponent();
//
- //TODO:
+ //TODO: добавьте код конструктора
//
}
protected:
/// <summary>
- /// .
+ /// Освободить все используемые ресурсы.
/// </summary>
~MyForm()
{
@@ -46,14 +46,14 @@ namespace Guschin {
private:
/// <summary>
- /// .
+ /// Обязательная переменная конструктора.
/// </summary>
System::ComponentModel::Container^ components;
#pragma region Windows Form Designer generated code
/// <summary>
- ///
- /// .
+ /// Требуемый метод для поддержки конструктора — не изменяйте
+ /// содержимое этого метода с помощью редактора кода.
/// </summary>
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);