Esempio n. 1
0
 private void btnMaximize_Click(object sender, EventArgs e)
 {
     if (WindowState == FormWindowState.Normal)
     {
         WindowState = FormWindowState.Maximized;
         resizeControl.Hide();
         currentChildForm.SizeChange();
     }
     else if (WindowState == FormWindowState.Maximized)
     {
         WindowState = FormWindowState.Normal;
         resizeControl.Show();
         currentChildForm.SizeChange();
     }
 }
Esempio n. 2
0
 public override void SizeChange()
 {
     currentChildForm.SizeChange();
 }