private void btnupdate_Click(object sender, EventArgs e) { addbook = new addbook(new List <object>() { }); addbook.Text = "Update"; mdi.main(encapulation.Parent1, addbook, addbook.Text); }
private void btnadd_Click(object sender, EventArgs e) { addbook = new addbook(); addbook.Text = "Add"; mdi.main(encapulation.Parent1, addbook, addbook.Text); }
private void افزودنکتابToolStripMenuItem_Click(object sender, EventArgs e) { addbook mya = new addbook(); mya.ShowDialog(); }