private void OnDeleteProductCommand()
 {
     ConfirmWindow lConfirmWindow = new ConfirmWindow("删除产品", "是否删除产品:" + SelectProductEntity.ProductID);
     lConfirmWindow.Closed += lConfirmWindow_Closed;
     lConfirmWindow.Show();
 }
 public void ConfirmLeave()
 {
     if (systemManageDomainContext.HasChanges)
     {
         ConfirmWindow confirmWindow = new ConfirmWindow("保存", "有改变,是否保存?");
         confirmWindow.Closed += new EventHandler(Confirm_Closed);
         confirmWindow.Show();
     }
 }
 private void OnDeleteFinalFileCommand()
 {
     ConfirmWindow lConfirmWindow = new ConfirmWindow("删除文件", "是否永久删除文件?");
     lConfirmWindow.Closed += ConfirmWindow_Closed;
     lConfirmWindow.Show();
 }