Exemple #1
0
        /// <summary>
        /// 填充下拉框:影片类型
        /// </summary>
        private void FillFilmCategoryList()
        {
            cbFilmCategory.DisplayMember = "FilmCategoryName";
            cbFilmCategory.ValueMember   = "FilmCategoryId";

            cbFilmCategory.DataSource = FilmCategoryManage.DirectGetAllList();
        }
        public frmFilmCategoryManage()
        {
            InitializeComponent();

            lblListTitle.Text = "影片类型信息";

            dataManager       = new FilmCategoryManage();
            dataBindingSource = new BindingSource();

            this.dataGridViewColumnInfoList = dataManager.ColumnInfoList;

            this.Load += new EventHandler(frmFilmCategoryManage_Load);
        }