Ejemplo n.º 1
0
 /// <summary>
 /// Delete Function
 /// </summary>
 public void DeleteFunction()
 {
     try
     {
         SizeSP spSize = new SizeSP();
         if (spSize.SizeDeleting(decSizeId) <= 0)
         {
             Messages.ReferenceExistsMessage();
         }
         else
         {
             Messages.DeletedMessage();
             GridFill();
             Clear();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("SZ5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Delete Function
 /// </summary>
 public void DeleteFunction()
 {
     try
     {
         SizeSP spSize = new SizeSP();
         if (spSize.SizeDeleting(decSizeId) <= 0)
         {
             Messages.ReferenceExistsMessage();
         }
         else
         {
             Messages.DeletedMessage();
             GridFill();
             Clear();
         }
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SZ5" + ex.Message;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Delete Function
 /// </summary>
 public void DeleteFunction()
 {
     try
     {
         SizeSP spSize = new SizeSP();
         if (spSize.SizeDeleting(decSizeId) <=0)
         {
             Messages.ReferenceExistsMessage();
         }
         else
         {
             Messages.DeletedMessage();
             GridFill();
             Clear();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("SZ5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }