예제 #1
0
 private void supplier_button_Click(object sender, EventArgs e)
 {
     if (supp == null)
     {
         supp             = new SupplierListData();
         supp.RefreshDgv += new SupplierListData.DoEvent(ResetSupplier);
         supp.Show(this);
     }
     else
     {
         supp.WindowState = FormWindowState.Normal;
         supp.Focus();
     }
 }
예제 #2
0
 void ResetSupplier()
 {
     supp = null;
 }