示例#1
0
文件: Inventory.cs 项目: raryin/dp2
 private void deletebtn_Click(object sender, EventArgs e)
 {
     if (D == null)
     {
         D             = new deleteitem();
         D.FormClosed += new FormClosedEventHandler(D_FormClosed);
         D.Show();
     }
     else
     {
         D.Activate();
     }
 }
示例#2
0
文件: Inventory.cs 项目: raryin/dp2
 void D_FormClosed(object sender, FormClosedEventArgs e)
 {
     D = null;
 }