Exemple #1
0
 //白屏
 private void White_ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if ((tmpFrmYuDing == null) || (tmpFrmYuDing.IsDisposed))
     {
         tmpFrmYuDing = new FrmYuDing();
     }
     tmpFrmYuDing.tmpMainForm = this;
     tmpFrmYuDing.WindowState = FormWindowState.Maximized;
     tmpFrmYuDing.MdiParent   = this;
     tmpFrmYuDing.Show();
     tmpFrmYuDing.Focus();
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if ((tmpYuDing == null) || (tmpYuDing.IsDisposed))
     {
         tmpYuDing = new FrmYuDing();
     }
     tmpYuDing.tmpMainForm = tmpMain;
     tmpYuDing.WindowState = FormWindowState.Maximized;
     tmpYuDing.MdiParent   = tmpMain;
     tmpYuDing.Show();
     tmpYuDing.Focus();
 }