public ModifMMForm(Multimedia _mm, Ctrl _ctrl) { InitializeComponent(); mm = _mm; ctrl = _ctrl; titreTextBox.Text = mm.titre; auteurTextBox.Text = mm.auteur; }
public ModifVideoForm(Video _v, Ctrl _ctrl) { InitializeComponent(); v = _v; ctrl = _ctrl; titreTextBox.Text = v.titre; auteurTextBox.Text = v.auteur; }
public ModifAudioForm(Audio _aud, Ctrl _ctrl) { InitializeComponent(); aud = _aud; ctrl = _ctrl; titreTextBox.Text = aud.titre; auteurTextBox.Text = aud.auteur; }
public ModifLivreForm(Livre _l, Ctrl _ctrl) { InitializeComponent(); l = _l; ctrl = _ctrl; titreTextBox.Text = l.titre; auteurTextBox.Text = l.auteur; editeurTextBox.Text = l.editeur; anneeParutionTextBox.Text = l.parution.ToString("dd'/'MM'/'yyyy"); }
public ModifArticleForm(Article _art, Ctrl _ctrl) { InitializeComponent(); art = _art; ctrl = _ctrl; titreTextBox.Text = art.titre; auteurTextBox.Text = art.auteur; editeurTextBox.Text = art.editeur; numEditionTextBox.Text = art.numEdition; }
public MainForm(Model.Mediatheque _m) { InitializeComponent(); m = _m; ctrl = new Ctrl(m, this); documentBindingSource.DataSource = m.documents; audioBindingSource.DataSource = m.GetDocuments<Audio>(); videoBindingSource.DataSource = m.GetDocuments<Video>(); texteBindingSource.DataSource = m.GetDocuments<Texte>(); multimediaBindingSource.DataSource = m.GetDocuments<Multimedia>(); tabControl.DrawItem += new DrawItemEventHandler(tabControl1_DrawItem); }
public AjoutArticleForm(Ctrl _ctrl) { ctrl = _ctrl; InitializeComponent(); }
public AjoutMMForm(Ctrl _ctrl) { ctrl = _ctrl; InitializeComponent(); }