public MainPanel() { InitializeComponent(); // FirstPage.Parent = Mainbar1; db = new Utils.DBUtil(); movieDic.Add(3, new MovieInfo(bestMoviePanel, bestMovieContentBack, bestMovieTitle, bestMovieDirector, bestMovieSummary, null)); }
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(); }
public login() { InitializeComponent(); db = new Utils.DBUtil(); }