コード例 #1
0
 private void ShowList()
 {
     if (!(showlist != null && showlist.Text.Length > 0))
     {
         showlist = new frmShowList();
         fillShowList();
     }
     showlist.Show();
     showlist.BringToFront();
 }
コード例 #2
0
 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();
     }
 }