private void Add_Click(object sender, EventArgs e) { prod a = new prod(); a.a3 = this; DialogResult res = a.ShowDialog(); if (res == DialogResult.Yes) { a.Show(); loadAll(); } }
private void entry_Click(object sender, EventArgs e) { prod a = new prod(); a.Show(); }