private void EditArgosDeploymentButton_Click(object sender, EventArgs e) { var deploymentId = ((ArgosDeployment)ArgosDeploymentsGridView.SelectedRows[0].Cells[0].Value).DeploymentId; var form = new ArgosDeploymentDetailsForm(deploymentId, false, true); form.DatabaseChanged += (o, x) => ArgosDataChanged(); form.Show(this); }
private void EditCollarButton_Click(object sender, EventArgs e) { var deployment = (ArgosDeployment)CollarsDataGridView.SelectedRows[0].Cells[0].Value; var form = new ArgosDeploymentDetailsForm(deployment.DeploymentId, true); form.DatabaseChanged += (o, x) => CollarDataChanged(); form.Show(this); }
private void EditArgosButton_Click(object sender, EventArgs e) { var deployment = (ArgosDeployment)ArgosDataGridView.SelectedRows[0].Cells[0].Value; var form = new ArgosDeploymentDetailsForm(deployment.DeploymentId, true); form.DatabaseChanged += (o, x) => ArgosDataChanged(); form.Show(this); }