Beispiel #1
0
 void formLabelConfig_FormClosed(object sender, FormClosedEventArgs e)
 {
     formLabelConfig = null;
 }
Beispiel #2
0
 private void btnLabelConfig_Click(object sender, EventArgs e)
 {
     if (formLabelConfig == null)
     {
         formLabelConfig = new FormLabelConfig();
         formLabelConfig.FormClosed += formLabelConfig_FormClosed;
         formLabelConfig.MdiParent = this;
     }
     formLabelConfig.WindowState = FormWindowState.Maximized;
     formLabelConfig.Show();
     formLabelConfig.BringToFront();
 }