Beispiel #1
0
 public Form_TPB_QuanLyLuong()
 {
     InitializeComponent();
     cbbTK_NV.Text = "Theo Tên NV";
     dataGridView1.Columns["Column1"].DefaultCellStyle.Format = "###,## VND";
     db    = new QLLD_DBDataContext();
     pcbll = new PhanCongBLL();
     ctbll = new CongTrinhBLL();
     ckn   = new ChuoiKetNoi();
 }
Beispiel #2
0
 public Form_TPB_QuanLyNhanVien()
 {
     InitializeComponent();
     pbbll = new PhongBanBLL();
     nvbll = new NhanVienBLL();
     tkbll = new TaiKhoanBLL();
     pcbll = new PhanCongBLL();
     db    = new QLLD_DBDataContext();
     ckn   = new ChuoiKetNoi();
     dataGridView1.Columns[2].DefaultCellStyle.Format = "dd/MM/yyyy";
     cbbTK_NV.Text     = "Theo Tên NV";
     _trangThaiTimKiem = "L";
 }
        // public static

        public Form_NVDA_QuanLyCongTrinh()
        {
            InitializeComponent();
            ctbll = new CongTrinhBLL();
            pbbll = new PhongBanBLL();
            pcbll = new PhanCongBLL();
            ckn   = new ChuoiKetNoi();
            dataGridView1.Columns[3].DefaultCellStyle.Format = "###,##";
            dataGridView1.Columns[4].DefaultCellStyle.Format = "dd/MM/yyyy";
            dataGridView1.Columns[5].DefaultCellStyle.Format = "dd/MM/yyyy";
            dataGridView1.Columns[6].DefaultCellStyle.Format = "dd/MM/yyyy";

            cbbTK_NV.Text       = "Theo Tên CT";
            _trangThaiCongTrinh = "TC";
        }