Пример #1
0
        private void AddDeploymentButton_Click(object sender, EventArgs e)
        {
            var form = new AddCollarDeploymentForm(null, Animal);

            form.DatabaseChanged += (o, x) => CollarDataChanged();
            form.Show(this);
        }
 private void AddDeploymentButton_Click(object sender, EventArgs e)
 {
     var form = new AddCollarDeploymentForm(Collar);
     form.DatabaseChanged += (o, x) => AnimalDataChanged();
     form.Show(this);
 }