Пример #1
0
        /// <summary>
        /// 填充下拉框:影院名称
        /// </summary>
        private void TheaterList()
        {
            CbTheaterName.DisplayMember = "TheaterName";
            CbTheaterName.ValueMember   = "TheaterId";

            CbTheaterName.DataSource = TheaterInfoManage.DirectGetAllList();
        }
Пример #2
0
        public frmTheaterInfoManage()
        {
            InitializeComponent();

            dataManager                  = new TheaterInfoManage();
            dataBindingSource            = new BindingSource();
            dataBindingSource.DataSource = dataManager.GetDataList();
        }
Пример #3
0
        public frmImport()
        {
            InitializeComponent();

            dataManager = new TheaterInfoManage();
        }