示例#1
0
 //decimal totalPrice;
 // string quer = "select * from SeatPlan where SeatPlan_ID = ";
 public SeatBooking()
 {
     InitializeComponent();
     connect();
     generateSeats();
     displaySessionTime();
     setTitle();
     generateButtons();
     picBoxLogo.Image = MovieListing.getImage();
     // cmbSession.SelectedIndex = 0;
 }
示例#2
0
 public SeatBooking()
 {
     InitializeComponent();
     getSession();
     generateSeats();
     sessionTimeAndScreen();
     creatTicket();
     generateButtons();
     picBoxLogo.Image            = MovieListing.getImage();
     lblName.Text                = Login.getUserName();
     btnLogOf.BackgroundImage    = Properties.Resources.logoff;
     pictureBox2.BackgroundImage = Properties.Resources.PopcornLogo;
 }