public frm_suaHopDong() { InitializeComponent(); busHopDong = new BUSHopDong(); eHopDong = new eHopDong(); busDuAn = new BUSDuAn(); }
public frm_quanLyHopDong() { _hopDong = new BUSHopDong(); BindingSourceHopDong = new BindingSource(); BeginTable(); InitializeComponent(); }
private void btnRefresh_Click(object sender, EventArgs e) { dgv_hopDong.DataSource = null; BUSHopDong hd = new BUSHopDong(); dgv_hopDong.DataSource = hd.GetAllList(); LoadDgvHopDong(); }
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; }
public frm_timKiemHopDong() { _duAn = new BUSDuAn(); _hopDong = new BUSHopDong(); InitializeComponent(); }