private void btnYes_Click(object sender, EventArgs e)
 {
     try
     {
         int state = sbus.DeleteSchedule(roomID, hourID, date);
         if (state == 1)
         {
             SuccessNotify notify = new SuccessNotify();
             notify.lblMessage.Text = "Delete schedule successfully!";
             notify.ShowDialog();
         }
         else
         {
             SuccessNotify notify = new SuccessNotify();
             notify.lblMessage.Text = "Delete schedule failed!";
             notify.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
     parent.LoadData();
     this.Close();
 }