public SubscribersArea() { InitializeComponent(); music = new MusicSQLEntities(); sec = 0; inLoan = false; inMyAlbums = false; }
public AdminArea() { InitializeComponent(); listBox1.HorizontalScrollbar = true; music = new MusicSQLEntities(); top10(); yearInactivity(); tenDaysLate(); AlbumBorrowed(); WindowState = FormWindowState.Maximized; }
public AlbumSetting(Album a) { InitializeComponent(); music = new MusicSQLEntities(); albm = a; Title.Text = albm.Titre_Album; var emprunt = (from em in music.Emprunter where em.Code_Album == albm.Code_Album && em.Code_Abonné == Form1.currentSubscriber.Code_Abonné select em); empr = emprunt.First(); updateFutureReturnDate(); }