Exemple #1
0
 public Form_QuanLyTieuDe()
 {
     InitializeComponent();
     tdbll = new TieuDeBLL();
     dmbll = new DanhMucBLL();
     dataGridView1.AutoGenerateColumns = false;
 }
Exemple #2
0
        public Form_TraDia()
        {
            khbll   = new KhachHangBLL();
            tdbll   = new TieuDeBLL();
            diabll  = new DiaBLL();
            ctptbll = new ChiTietPhieuThueBLL();

            InitializeComponent();
        }
 private void Form_QuanLyDatDia_Load(object sender, EventArgs e)
 {
     khbll          = new KhachHangBLL();
     tdbll          = new TieuDeBLL();
     pdbll          = new PhieuDatBLL();
     ctpdbll        = new ChiTietPhieuDatBLL();
     listTtPhieuDat = new List <eThongTinPhieuThue>();
     loadComboBox();
 }
Exemple #4
0
        public Form_QuanLyKhoDia()
        {
            InitializeComponent();
            tdbll  = new TieuDeBLL();
            diabll = new DiaBLL();
            dmbll  = new DanhMucBLL();

            dataGridViewD.AutoGenerateColumns  = false;
            dataGridViewTD.AutoGenerateColumns = false;
        }
        public Form_QuanLyThueDia()
        {
            InitializeComponent();
            tdbll   = new TieuDeBLL();
            khbll   = new KhachHangBLL();
            diabll  = new DiaBLL();
            dmbll   = new DanhMucBLL();
            ptbll   = new PhieuThueBLL();
            ctptbll = new ChiTietPhieuThueBLL();

            listTtPhieuThue = new List <eThongTinPhieuThue>();

            dataGridView1.AutoGenerateColumns = false;
            dataGridView1.Columns[3].DefaultCellStyle.Format = "###,##";
            dataGridView1.Columns[4].DefaultCellStyle.Format = "###,##";
            dataGridView1.Columns[6].DefaultCellStyle.Format = "dd/MM/yyyy";

            //dtpkTTNgayTra.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime;
            //dtpkTTNgayTra.Properties.Mask.EditMask = "dd/MM/yyyy";
            //dtpkTTNgayTra.Properties.Mask.UseMaskAsDisplayFormat = true ;
        }