public MainForm() { mainImage = Image.FromFile("..\\..\\..\\Resources\\Horror movie festival.jpg"); darkerImage = Image.FromFile("..\\..\\..\\Resources\\Horror movie festival darker.jpg"); rnd = new Random(); InitializeComponent(); handler = new FestivalHandler(Program.connectionString); horrorFestivalPictureBox.Image = mainImage; flickerTimer.Start(); }
public TicketBookingForm() { InitializeComponent(); handler = new FestivalHandler(Program.connectionString); //Using a list of seats instead of Panel.Controls, as to not have to cast each seat from control to label, every time seats = new List <Label>() { seat1, seat2, seat3, seat4, seat5, seat6, seat7, seat8, seat9, seat10, seat11, seat12, seat13, seat14, seat15, seat16, seat17, seat18, seat19, seat20 }; seatsToRemove = new List <int>(); seatsToAdd = new Dictionary <int, bool>(); CurrentStartTimeIndex = 0; }
public NewCustInfoForm() { InitializeComponent(); handler = new FestivalHandler(Program.connectionString); }