public formLeden(Bioscoop b, Lid l) { InitializeComponent(); Bios = b; lid = l; ShowInfo(); }
public formMedewerker(Medewerker m, Bioscoop b) { InitializeComponent(); SelectedItems = new List <object>(); medewerker = m; bioscoop = b; refreshData(); }
private void loadMS_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { FileInfo fileInfo = new FileInfo(openFileDialog.FileName); if (fileInfo.Extension == ".txt") { try { Bioscoop NewBioscoop = bioscoop.Load(fileInfo.FullName); if (NewBioscoop != null) { bioscoop = NewBioscoop; } else { MessageBox.Show("Loading failed"); } ShowInfo(); refreshData(); MessageBox.Show("Loading completed"); } catch (SerializationException ex) { MessageBox.Show(ex.ToString()); } catch (OutOfMemoryException ex) { MessageBox.Show(ex.ToString()); } catch (IOException ex) { MessageBox.Show(ex.ToString()); } } else { MessageBox.Show("Select a .txt file"); } } }
public formBezoeker(Bioscoop bioscoop) { InitializeComponent(); this.Bioscoop = bioscoop; UpdateGuiInfo(); }
public formRegistreer(Bioscoop b) { InitializeComponent(); bioscoop = b; btnRegistreer.Enabled = false; }
public formLogIn(Bioscoop b) { InitializeComponent(); Bios = b; }
public formLogIn() { InitializeComponent(); Bios = new Bioscoop("Bios", "Eindhoven"); Bios.MaakStandaardBioscoop(); }