Exemplo n.º 1
0
 /// <summary>
 /// DeleteFunction checking conformation
 /// </summary>
 public void DeleteFunction()
 {
     try
     {
         BomSP spBom = new BomSP();
         Messages.DeletedMessage();
         if (frmProductCreationObj != null)
         {
             bool isDeleted = true;
             frmProductCreationObj.ReciveDeleteConfirmation(isDeleted);
         }
         Clear();
         this.Close();
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PB:15" + ex.Message;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// DeleteFunction checking conformation
 /// </summary>
 public void DeleteFunction()
 {
     try
     {
         BomSP spBom = new BomSP();
         Messages.DeletedMessage();
         if (frmProductCreationObj != null)
         {
             bool isDeleted = true;
             frmProductCreationObj.ReciveDeleteConfirmation(isDeleted);
         }
         Clear();
         this.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show("PB:15" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }