예제 #1
0
 private void btnSelect_Click(object sender, RoutedEventArgs e)
 {
     if (dtgOrganizationTypes.SelectedItem != null)
     {
         var OrganizationTypeDTO = dtgOrganizationTypes.SelectedItem as OrganizationTypeDTO;
         if (OrganizationTypeDTO != null)
         {
             OrganizationTypeSelectedArg arg = new OrganizationTypeSelectedArg();
             arg.OrganizationTypeID = OrganizationTypeDTO.ID;
             if (OrganizationTypeSelected != null)
             {
                 OrganizationTypeSelected(this, arg);
             }
         }
     }
 }
예제 #2
0
 private void FrmOrganizationTypeSelect_OrganizationTypeSelected(object sender, OrganizationTypeSelectedArg e)
 {
     GetOrganizationType(e.OrganizationTypeID);
     MyProjectManager.GetMyProjectManager.CloseDialog(sender);
 }