private checkBoxFullscreen_CheckedChanged ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
private void checkBoxFullscreen_CheckedChanged(object sender, EventArgs e)
{
if (this.checkBoxFullscreen.Checked)
{
gMapControl.Location = new Point(0, 0);
gMapControl.Width = this.Width - 35;
}
else
{
gMapControl.Location = new Point(136, 0);
gMapControl.Width = this.Width - 170;
}
}