Exemplo n.º 1
0
 private void Button4_Click(System.Object sender, System.EventArgs e)
 {
     DGV.Rows.Clear();
     SeatCapacity.Clear();
     BookingNo.Clear();
     SC2.Clear();
     SeatAvailability.Clear();
     RadioButton1.Checked = false;
     RadioButton2.Checked = false;
     RNo.Text             = "Select";
     BusSerialNo.Text     = "Select";
 }
Exemplo n.º 2
0
 public void btnclear_Click(System.Object sender, System.EventArgs e)
 {
     Rno.Text            = "Select";
     cmbstartpoint.Text  = "";
     cmbdestination.Text = "";
     BusSerialNo.Text    = "Select";
     BusNumber.Text      = "Select";
     BusType.Text        = "Select";
     BusReservation.Text = "Select";
     Arrivaltime.Value   = Convert.ToDateTime(DateTime.Now);
     Departuretime.Value = Convert.ToDateTime(DateTime.Now);
     SeatCapacity.Clear();
     S1.Clear();
     S2.Clear();
     SeatAvailability.Clear();
     SC2.Clear();
 }