public SubscribersArea()
 {
     InitializeComponent();
     music      = new MusicSQLEntities();
     sec        = 0;
     inLoan     = false;
     inMyAlbums = false;
 }
예제 #2
0
 public AdminArea()
 {
     InitializeComponent();
     listBox1.HorizontalScrollbar = true;
     music = new MusicSQLEntities();
     top10();
     yearInactivity();
     tenDaysLate();
     AlbumBorrowed();
     WindowState = FormWindowState.Maximized;
 }
예제 #3
0
        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();
        }