コード例 #1
0
        public ucThemNhanVien()
        {
            InitializeComponent();
            this.nhanvienBUS = new NhanVienBUS();

            //Load ds chuc vu
               // DataSet dataChucVu = new DataSet();
            //dataChucVu = (new ChucVuBUS().LoadComBoBox());

            this.lueChucVu.Properties.DataSource = (new ChucVuBUS().LoadComBoBox());
            this.lueChucVu.Properties.Columns.Add(new LookUpColumnInfo(this.lueChucVu.Properties.DisplayMember));

             //   this.lueChucVu.Properties.
            this.deNgayTao.DateTime = DateTime.Now;
        }
コード例 #2
0
 public ucDanhSachNhanVien()
 {
     InitializeComponent();
     this.nhanVienBUS = new NhanVienBUS();
     this.LoadData();
 }