Example #1
0
 public MainForm()
 {
     InitializeComponent();
     filmController    = new FilmController();
     sessionController = new SessionController();
     initializeCombo();
     toolStripMenuItem1.Click += menuStrip1_ItemClicked_1;
     toolStripMenuItem2.Click += menuStrip2_ItemClicked_2;
 }
Example #2
0
 public AddFilmForm()
 {
     InitializeComponent();
     filmController    = new FilmController();
     sessionController = new SessionController();
     initializeCombo();
     dateTimePicker1.CustomFormat = "dd/MM/yyyy" + " HH:mm:ss";
     dateTimePicker1.Format       = DateTimePickerFormat.Custom;
     dateTimePicker1.Value        = DateTime.Now;
 }