AsterixDisplayAnalyser.FormMain.checkBoxFullscreen_CheckedChanged C# (CSharp) Метод

checkBoxFullscreen_CheckedChanged() приватный Метод

private checkBoxFullscreen_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат 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;
            }
        }
FormMain