コード例 #1
0
ファイル: MainForm.cs プロジェクト: IogiS/cinema
 public MainForm()
 {
     InitializeComponent();
     filmController    = new FilmController();
     sessionController = new SessionController();
     initializeCombo();
     toolStripMenuItem1.Click += menuStrip1_ItemClicked_1;
     toolStripMenuItem2.Click += menuStrip2_ItemClicked_2;
 }
コード例 #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;
 }