예제 #1
0
 private void CheckSelectedItem(object item)
 {
     if (item != null)
     {
         var databaseDTO = item as DatabaseDTO;
         if (databaseDTO != null)
         {
             DatabaseSelectedArg arg = new DatabaseSelectedArg();
             arg.DatabaseID = databaseDTO.ID;
             if (DatabaseSelected != null)
             {
                 DatabaseSelected(this, arg);
             }
         }
     }
 }
 private void FrmOrganizationSelect_DatabaseSelected(object sender, DatabaseSelectedArg e)
 {
     MyProjectManager.GetMyProjectManager.CloseDialog(sender);
     GetDatabase(e.DatabaseID);
 }