Пример #1
0
        private void btnAddOrganization_Click(object sender, EventArgs e)
        {
            OrganizationForm form = new OrganizationForm(db);

            form.ShowDialog();
            LoadAllOrganizations();
        }
Пример #2
0
        private void lbOrganizations_DoubleClick(object sender, EventArgs e)
        {
            Organization     org  = (Organization)lbOrganizations.SelectedItem;
            OrganizationForm form = new OrganizationForm(db, org);

            form.ShowDialog();
            LoadAllOrganizations();
        }