diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2020-11-10 13:32:53 +0300 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2020-11-10 13:32:53 +0300 |
| commit | a6069e59e152178f2c0625e8967f0ef6330e8d1a (patch) | |
| tree | 20adb71459112da912dd7d39ef48eea13d404eec /task05_3D/Guschin | |
| parent | a32f056fbf26af81db0f8b43d2086e3306a170b5 (diff) | |
Добавил двойную буфферизацию
Diffstat (limited to 'task05_3D/Guschin')
| -rw-r--r-- | task05_3D/Guschin/MyForm.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |