protected override void OnResize(EventArgs e)
{
base.OnResize(e);
int buttonHeight = (int)(Data.VerticalDLU * 15.5);
int buttonWidth = (int)(Data.HorizontalDLU * 60);
int btnVertSpace = (int)(Data.VerticalDLU * 5.5);
int btnHrzSpace = (int)(Data.HorizontalDLU * 3);
int border = btnHrzSpace;
pnlControl.Height = buttonHeight + 2 * btnVertSpace;
pnlBase.Size = new Size(ClientSize.Width - 2 * border, pnlControl.Top - border);
pnlBase.Location = new Point(border, border);
btnClose.Size = new Size(buttonWidth, buttonHeight);
btnClose.Location = new Point(ClientSize.Width - btnClose.Width - btnHrzSpace, btnVertSpace);
}