Exemplo n.º 1
0
        private void btnNewOrganization_Click(object sender, EventArgs e)
        {
            int organizationID = OrganizationForm.ShowOrganization();

            if (organizationID > -1)
            {
                LoadOrganizations();
                SelectOrganization(organizationID);
            }
        }
Exemplo n.º 2
0
 private void btnEditOrganization_Click(object sender, EventArgs e)
 {
     OrganizationForm.ShowOrganization((int)((NamObjectItem)cmbOrganization.SelectedItem).Value);
     LoadOrganization((int)((NamObjectItem)cmbOrganization.SelectedItem).Value);
 }