/// <summary> /// Function to delete a Rack /// </summary> public void DeleteFunction() { try { RackSP spRack = new RackSP(); if (spRack.RackDeleteReference(decRackId) <= 0) { Messages.ReferenceExistsMessage(); } else { Clear(); btnSave.Text = "Save"; Messages.DeletedMessage(); GridFill(); } } catch (Exception ex) { formMDI.infoError.ErrorString = "R11:" + ex.Message; } }
/// <summary> /// Function to delete a Rack /// </summary> public void DeleteFunction() { try { RackSP spRack = new RackSP(); if (spRack.RackDeleteReference(decRackId) <= 0) { Messages.ReferenceExistsMessage(); } else { Clear(); btnSave.Text = "Save"; Messages.DeletedMessage(); GridFill(); } } catch (Exception ex) { MessageBox.Show("R39:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to delete a Rack /// </summary> public void DeleteFunction() { try { RackSP spRack = new RackSP(); if (spRack.RackDeleteReference(decRackId) <=0) { Messages.ReferenceExistsMessage(); } else { Clear(); btnSave.Text = "Save"; Messages.DeletedMessage(); GridFill(); } } catch (Exception ex) { MessageBox.Show("R39:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }