Example #1
0
 public frm_suaHopDong()
 {
     InitializeComponent();
     busHopDong = new BUSHopDong();
     eHopDong   = new eHopDong();
     busDuAn    = new BUSDuAn();
 }
Example #2
0
 public frm_quanLyHopDong()
 {
     _hopDong             = new BUSHopDong();
     BindingSourceHopDong = new BindingSource();
     BeginTable();
     InitializeComponent();
 }
Example #3
0
        private void btnRefresh_Click(object sender, EventArgs e)
        {
            dgv_hopDong.DataSource = null;
            BUSHopDong hd = new BUSHopDong();

            dgv_hopDong.DataSource = hd.GetAllList();
            LoadDgvHopDong();
        }
Example #4
0
        public frm_suaHopDong(string maHopDong, eDuAn duAn, string tenHopDong, DateTime ngayKyKet, DateTime ngayHetHan, double giaTriHopDong, string thongTin)
        {
            InitializeComponent();

            eHopDong   = new eHopDong();
            busHopDong = new BUSHopDong();

            eHopDong.maHopDong     = maHopDong;
            eHopDong.duAn          = duAn;
            eHopDong.tenHopDong    = tenHopDong;
            eHopDong.ngayKyKet     = ngayKyKet;
            eHopDong.ngayHetHan    = ngayHetHan;
            eHopDong.giaTriHopDong = giaTriHopDong;
            eHopDong.thongTin      = thongTin;
        }
Example #5
0
 public frm_timKiemHopDong()
 {
     _duAn    = new BUSDuAn();
     _hopDong = new BUSHopDong();
     InitializeComponent();
 }