예제 #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!!");
     }
 }
예제 #2
0
 public frmMain(int selectedBusId, byte seatNumber, decimal pay)
 {
     InitializeComponent();
     frmPassengerInformation frm = new frmPassengerInformation(SelectedBusId, seatNumber, pay);
 }