Example #1
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (!String.IsNullOrEmpty(txtSeatNumber.Text))
     {
         frmPassengerInformation frm = new frmPassengerInformation(SelectedBusId, SeatNumber, Pay);
         frm.Show();
     }
     else
     {
         MessageBox.Show("Koltuk seƧmediniz!!");
     }
 }
Example #2
0
 public frmMain(int selectedBusId, byte seatNumber, decimal pay)
 {
     InitializeComponent();
     frmPassengerInformation frm = new frmPassengerInformation(SelectedBusId, seatNumber, pay);
 }