Beispiel #1
0
        private void InfoCollarButton_Click(object sender, EventArgs e)
        {
            var collar = ((CollarListItem)CollarsListBox.SelectedItem).Collar;
            var form   = new CollarDetailsForm(collar);

            form.DatabaseChanged += (o, args) => CollarDataChanged();
            form.Show(this);
        }
Beispiel #2
0
        private void InfoArgosCollarButton_Click(object sender, EventArgs e)
        {
            var deployment = (ArgosDeployment)ArgosDeploymentsGridView.SelectedRows[0].Cells[0].Value;
            var form       = new CollarDetailsForm(deployment.Collar);

            form.DatabaseChanged += (o, x) => ArgosDataChanged();
            form.Show(this);
        }
Beispiel #3
0
        private void InfoParameterButton_Click(object sender, EventArgs e)
        {
            var parameter = (CollarParameter)ParametersDataGridView.SelectedRows[0].Cells[0].Value;
            var form      = new CollarDetailsForm(parameter.Collar);

            form.DatabaseChanged += (o, x) => ParametersDataChanged();
            form.Show(this);
        }
Beispiel #4
0
        private void IssueCollarDetails()
        {
            var collar = (Collar)ProcessingIssuesDataGridView.SelectedRows[0].Cells[1].Value;

            if (collar == null)
            {
                return;
            }
            var form = new CollarDetailsForm(collar);

            form.DatabaseChanged += (o, x) => IssueDataChanged();
            form.Show(this);
        }
Beispiel #5
0
        private void InfoCollarButton_Click(object sender, EventArgs e)
        {
            if (DeploymentDataGridView.CurrentRow == null)
            {
                return;
            }
            var item = DeploymentDataGridView.CurrentRow.DataBoundItem as DeploymentDataItem;

            if (item == null)
            {
                return;
            }
            var form = new CollarDetailsForm(item.Collar);

            form.DatabaseChanged += (o, x) => CollarDataChanged();
            form.Show(this);
        }
 private void IssueCollarDetails()
 {
     var collar = (Collar)ProcessingIssuesDataGridView.SelectedRows[0].Cells[1].Value;
     if (collar == null)
         return;
     var form = new CollarDetailsForm(collar);
     form.DatabaseChanged += (o, x) => IssueDataChanged();
     form.Show(this);
 }
 private void InfoCollarButton_Click(object sender, EventArgs e)
 {
     var deployment = (ArgosDeployment)CollarsDataGridView.SelectedRows[0].Cells[0].Value;
     var form = new CollarDetailsForm(deployment.Collar);
     form.DatabaseChanged += (o, x) => CollarDataChanged();
     form.Show(this);
 }
 private void InfoParameterButton_Click(object sender, EventArgs e)
 {
     var parameter = (CollarParameter)ParametersDataGridView.SelectedRows[0].Cells[0].Value;
     var form = new CollarDetailsForm(parameter.Collar);
     form.DatabaseChanged += (o, x) => ParametersDataChanged();
     form.Show(this);
 }
 private void InfoCollarButton_Click(object sender, EventArgs e)
 {
     if (DeploymentDataGridView.CurrentRow == null)
         return;
     var item = DeploymentDataGridView.CurrentRow.DataBoundItem as DeploymentDataItem;
     if (item == null)
         return;
     var form = new CollarDetailsForm(item.Collar);
     form.DatabaseChanged += (o, x) => CollarDataChanged();
     form.Show(this);
 }
 private void InfoCollarButton_Click(object sender, EventArgs e)
 {
     var collar = ((CollarListItem)CollarsListBox.SelectedItem).Collar;
     var form = new CollarDetailsForm(collar);
     form.DatabaseChanged += (o, args) => CollarDataChanged();
     form.Show(this);
 }