private void btnUpdate_Click(object sender, EventArgs e) { FChangeNuocSX fadd = new FChangeNuocSX(); fadd.AddThongTin(new string[] { btnUpdate.Text, txtMaNuoc.Text, txtTenNuocSX.Text }); fadd.MdiParent = main; fadd.main = main; this.Close(); fadd.Show(); }
private void btnAdd_Click(object sender, EventArgs e) { //this.Hide(); FChangeNuocSX fadd = new FChangeNuocSX(); fadd.AddThongTin(new string[] { btnAdd.Text, "", "" }); fadd.MdiParent = main; fadd.main = main; this.Close(); fadd.Show(); }