private void bMod_Click(object sender, EventArgs e) { AddDev MyForm = new AddDev(gw.Rows[gw.CurrentRow.Index].Cells[0].Value.ToString(), gw.Rows[gw.CurrentRow.Index].Cells[1].Value.ToString(), gw.Rows[gw.CurrentRow.Index].Cells[2].Value.ToString(),this._current_state, gw.Rows[gw.CurrentRow.Index].Cells[3].Value.ToString()); MyForm.ShowDialog(); }
private void bAdd_Click(object sender, EventArgs e) { AddDev MyForm = new AddDev(); MyForm.ShowDialog(); }