private void ShowList() { if (!(showlist != null && showlist.Text.Length > 0)) { showlist = new frmShowList(); fillShowList(); } showlist.Show(); showlist.BringToFront(); }
private void miFetchList_Click(object sender, EventArgs e) { if (showlist != null && showlist.Text.Length > 0) { showlist.Show(); showlist.BringToFront(); } else { showlist = new frmShowList(); fillShowList(); showlist.Show(); } }