public Form_QuanLyPhiTre()
 {
     khbll   = new KhachHangBLL();
     ctptbll = new ChiTietPhieuThueBLL();
     dmbll   = new DanhMucBLL();
     InitializeComponent();
     dataGridView2.AutoGenerateColumns = false;
 }
Beispiel #2
0
        public Form_TraDia()
        {
            khbll   = new KhachHangBLL();
            tdbll   = new TieuDeBLL();
            diabll  = new DiaBLL();
            ctptbll = new ChiTietPhieuThueBLL();

            InitializeComponent();
        }
        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 ;
        }