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