private void MenuItemEBIndex_Click(object sender, EventArgs e) { if (formIndex == null || formIndex.IsDisposed) { formIndex = new EBMIndex(); } formIndex.MdiParent = this; formIndex.Show(); if (formIndex.WindowState == FormWindowState.Minimized) { formIndex.WindowState = FormWindowState.Normal; } formIndex.BringToFront(); }
public EBMMain() { InitializeComponent(); UpdateFormTitle(""); IsStartStream = false; EbmStream = new EBMStream(); MenuItemTSSetting_Click(MenuItemTSSetting, EventArgs.Empty); formStreamSet.WindowState = FormWindowState.Minimized; InitEBStream(); if (formIndex == null || formIndex.IsDisposed) { formIndex = new EBMIndex(); } formIndex.MdiParent = this; formIndex.Visible = false; InitStreamTable(); }