private void EditParameterButton_Click(object sender, EventArgs e) { var parameter = (CollarParameter)ParametersDataGridView.SelectedRows[0].Cells[0].Value; var form = new CollarParametersDetailsForm(parameter, false, true); form.DatabaseChanged += (o, x) => ParametersDataChanged(); form.Show(this); }
private void EditParameterButton_Click(object sender, EventArgs e) { var parameter = (CollarParameter)ParametersDataGridView.SelectedRows[0].Cells[0].Value; var form = new CollarParametersDetailsForm(parameter, true); form.DatabaseChanged += (o, x) => ParametersDataChanged(); form.Show(this); }