private void btnupdate_Click(object sender, EventArgs e) { abr = new addborrow(new List <object> { }); abr.Text = "Update"; mdi.main(encapulation.Parent1, abr, abr.Text); }
private void btnadd_Click(object sender, EventArgs e) { abr = new addborrow(); abr.Text = "Add"; mdi.main(encapulation.Parent1, abr, abr.Text); }