private void table_orgs_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { Form_orgs_add form = new Form_orgs_add(table_orgs.Rows[e.RowIndex]); form.ShowDialog(); table_orgs.refresh(Program.connectionstring); }
private void button_add_Click(object sender, EventArgs e) { Form_orgs_add form = new Form_orgs_add(); form.ShowDialog(); table_orgs.refresh(Program.connectionstring); }