示例#1
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();
 }