Rectangle ^ClientResolution = gcnew Rectangle();
ClientResolution = Screen::GetBounds();
float CurrentWidth = 1366 ;
float CurrentHeight = 768;
float RatioWidth = ((float)ClientResolution->Width / (float)CurrentWidth );
float RatioHeight =((float)ClientResolution->Height / (float)CurrentHeight);
this->Scale(RatioWidth,RatioHeight);
error C2661: 'System::Windows::Forms:: Screen::GetBounds' : no overloaded function takes 0 arguments
Any help would be much appreciated.