Launch center screen

Make the SDK launcher appear on the center of the client's screen.
This commit is contained in:
Kawe Mazidjatari 2023-07-25 01:05:05 +02:00
parent 6df3f39125
commit 85f988dcd7

View File

@ -23,7 +23,7 @@ void CSurface::Init()
this->SetText("Dashboard");
this->SetClientSize({ WindowX, WindowY });
this->SetFormBorderStyle(Forms::FormBorderStyle::FixedSingle);
this->SetStartPosition(Forms::FormStartPosition::CenterParent);
this->SetStartPosition(Forms::FormStartPosition::CenterScreen);
this->SetMinimizeBox(true);
this->SetMaximizeBox(false);
this->SetBackColor(Drawing::Color(47, 54, 61));