summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2020-11-10 13:32:53 +0300
committerAndrew Guschin <saintruler@gmail.com>2020-11-10 13:32:53 +0300
commita6069e59e152178f2c0625e8967f0ef6330e8d1a (patch)
tree20adb71459112da912dd7d39ef48eea13d404eec
parenta32f056fbf26af81db0f8b43d2086e3306a170b5 (diff)
Добавил двойную буфферизацию
-rw-r--r--task04/Guschin/MyForm.h11
-rw-r--r--task05_3D/Guschin/MyForm.h3
2 files changed, 9 insertions, 5 deletions
diff --git a/task04/Guschin/MyForm.h b/task04/Guschin/MyForm.h
index b49d0a9..e63953e 100644
--- a/task04/Guschin/MyForm.h
+++ b/task04/Guschin/MyForm.h
@@ -54,9 +54,10 @@ namespace Guschin {
//
// btnOpen
//
- this->btnOpen->Location = System::Drawing::Point(12, 12);
+ this->btnOpen->Location = System::Drawing::Point(16, 15);
+ this->btnOpen->Margin = System::Windows::Forms::Padding(4, 4, 4, 4);
this->btnOpen->Name = L"btnOpen";
- this->btnOpen->Size = System::Drawing::Size(113, 39);
+ this->btnOpen->Size = System::Drawing::Size(151, 48);
this->btnOpen->TabIndex = 0;
this->btnOpen->Text = L"Открыть";
this->btnOpen->UseVisualStyleBackColor = true;
@@ -64,11 +65,13 @@ namespace Guschin {
//
// MyForm
//
- this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
+ this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
- this->ClientSize = System::Drawing::Size(553, 557);
+ this->ClientSize = System::Drawing::Size(737, 686);
this->Controls->Add(this->btnOpen);
+ this->DoubleBuffered = true;
this->KeyPreview = true;
+ this->Margin = System::Windows::Forms::Padding(4, 4, 4, 4);
this->Name = L"MyForm";
this->Text = L"MyForm";
this->Load += gcnew System::EventHandler(this, &MyForm::MyForm_Load);
diff --git a/task05_3D/Guschin/MyForm.h b/task05_3D/Guschin/MyForm.h
index 0809914..b36ec18 100644
--- a/task05_3D/Guschin/MyForm.h
+++ b/task05_3D/Guschin/MyForm.h
@@ -46,8 +46,9 @@ namespace Guschin {
this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(737, 686);
+ this->DoubleBuffered = true;
this->KeyPreview = true;
- this->Margin = System::Windows::Forms::Padding(4, 4, 4, 4);
+ this->Margin = System::Windows::Forms::Padding(4);
this->Name = L"MyForm";
this->Text = L"MyForm";
this->Load += gcnew System::EventHandler(this, &MyForm::MyForm_Load);