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