public frmSoTietKiem() { InitializeComponent(); stkBUS = new SoTietKiemBUS(); ltkBUS = new LoaiTietKiemBUS(); txtMaSoSTK.Text = stkBUS.getNewMaSo(); }
private void frmQuyDinh_Load(object sender, EventArgs e) { ltkBUS = new LoaiTietKiemBUS(); tsBUS = new ThamSoBUS(); ThamSoDTO ts = new ThamSoDTO(); DataTable dtThamSo = tsBUS.getThamSo(); // get Tham so txtTienGuiToiThieu.Text = (dtThamSo.Rows[0][1]).ToString(); // tu dong hien thi tham so txtThoiGianGuiToiThieu.Text = (dtThamSo.Rows[0][3]).ToString(); // tu dong hien thi tham so loadLoaiTietKiemVao_Combobox(); // load thong tin cac loai tiet kiem dang co }
private void frmTraCuu_Load(object sender, EventArgs e) { stkBUS = new SoTietKiemBUS(); ltkBUS = new LoaiTietKiemBUS(); LoadData(); }