Esempio n. 1
0
 public MainPanel()
 {
     InitializeComponent();
     //  FirstPage.Parent = Mainbar1;
     db = new Utils.DBUtil();
     movieDic.Add(3, new MovieInfo(bestMoviePanel, bestMovieContentBack, bestMovieTitle, bestMovieDirector, bestMovieSummary, null));
 }
Esempio n. 2
0
        public void setLogin(login login)
        {
            this.login = login;
            db         = login.getDBUtil();

            Genre     gen   = new Genre();
            DataTable genDt = gen.getGenreList();
            int       i     = 0;

            foreach (DataRow dr in genDt.Rows)
            {
                genreSeq.Items.Add(dr[i++]);
            }

            MemberShip mem = new MemberShip();
        }
Esempio n. 3
0
        public login()
        {
            InitializeComponent();

            db = new Utils.DBUtil();
        }