示例#1
0
 private void btnDeletePlane_Click(object sender, EventArgs e)
 {
     try
     {
         int delSucc = _planeService.DeletePlane(planeId);
         if (delSucc > 0)
         {
             MessageBox.Show("Plane data deleted successfully.", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
             PlaneClearance();
             LoadAllPlane();
         }
     }
     catch (Exception ex)
     {
         throw;
     }
 }