From 7a8ca48d2bf501fd7d49c93501b592c733c5090f Mon Sep 17 00:00:00 2001 From: James Shiffer Date: Thu, 20 Aug 2020 15:13:47 -0700 Subject: [PATCH] centre both form windows --- FemboyBanking/EthAddressPrompt.h | 1 + FemboyBanking/Main.h | 1 + 2 files changed, 2 insertions(+) diff --git a/FemboyBanking/EthAddressPrompt.h b/FemboyBanking/EthAddressPrompt.h index 8a416ed..3d38fec 100644 --- a/FemboyBanking/EthAddressPrompt.h +++ b/FemboyBanking/EthAddressPrompt.h @@ -180,6 +180,7 @@ namespace FemboyBanking { this->Icon = (cli::safe_cast(resources->GetObject(L"$this.Icon"))); this->MaximizeBox = false; this->Name = L"EthAddressPrompt"; + this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen; this->Text = L"Connect Ethereum Wallet"; this->ResumeLayout(false); this->PerformLayout(); diff --git a/FemboyBanking/Main.h b/FemboyBanking/Main.h index 3343d63..97aa7b8 100644 --- a/FemboyBanking/Main.h +++ b/FemboyBanking/Main.h @@ -137,6 +137,7 @@ namespace FemboyBanking { this->Icon = (cli::safe_cast(resources->GetObject(L"$this.Icon"))); this->MaximizeBox = false; this->Name = L"Main"; + this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen; this->Text = L"FemboyBanking"; this->Load += gcnew System::EventHandler(this, &Main::Main_Load); this->ResumeLayout(false);