private void btDatMua_Click(object sender, EventArgs e) { HistoryTrade ht = new HistoryTrade(); this.Hide(); ht.Show(); MessageBox.Show("Đặt Hàng Thành Công"); }
//Hàm Load form InfoUser private void InfoUser_Load(object sender, EventArgs e) { history = new HistoryTrade(info.AccID); changeInfo.InfoUser = this; changeInfo.info = info; changeInfo.loadTextbox(); CallToChildForm(changeInfo); // truyền form changeInfo vào panel selectColor(btChangeInfo, btHistory); resizeForm(); resizeToolBox(); }