Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
 }