if(this->bFullscreen == Value)
return;
this->bFullscreen = Value;
if(bFullscreen)
{
…
this->pnBottom->Visible = false;
sSkinManager1->Active = false;
this->SetBounds(Monitor->Left, Monitor->Top, Monitor->Width, Monitor->Height);
this->BorderStyle = bsNone;
}
else
{
this->BorderStyle = bsSizeable;
this->pnBottom->Visible = true;
this->SetBounds(rcSavePos.left, rcSavePos.top, rcSavePos.Width(), rcSavePos.Height());
sSkinManager1->Active = true;
}