Esempio n. 1
0
        /// <summary>
        /// 填充下拉框:影片产地
        /// </summary>
        private void FillFilmAreaList()
        {
            cbFilmArea.DisplayMember = "FilmAreaName";
            cbFilmArea.ValueMember   = "FilmAreaId";

            cbFilmArea.DataSource = FilmAreaManage.DirectGetAllList();
        }
Esempio n. 2
0
        public frmFilmAreaManage()
        {
            InitializeComponent();

            lblListTitle.Text = "影片产地信息";

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

            this.dataGridViewColumnInfoList = dataManager.ColumnInfoList;

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