Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Clients.OKB.Views/3.3/Administration/Views/ProblemView.cs

    r14185 r14927  
    162162        AdministrationClient.UpdateProblemUsers(Content.Id, problemUserView.GetCheckedUsers().Select(x => x.Id).ToList());
    163163        storeUsersButton.Enabled = false;
    164       }
    165       catch (Exception ex) {
     164      } catch (Exception ex) {
    166165        ErrorHandling.ShowErrorDialog(this, "Store authorized users and groups failed.", ex);
    167166      }
     
    182181              try {
    183182                dataViewHost.Content = XmlParser.Deserialize<IContent>(stream);
    184               }
    185               catch (Exception) { }
     183              } catch (Exception) { }
    186184              stream.Close();
    187185            }
     
    221219          data = null;
    222220          dataViewHost.Content = (IContent)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    223         }
    224         catch (Exception ex) {
     221        } catch (Exception ex) {
    225222          ErrorHandling.ShowErrorDialog(this, "Create new problem data failed.", ex);
    226223        }
     
    235232            try {
    236233              problem = XmlParser.Deserialize<IContent>(openFileDialog.FileName);
    237             }
    238             catch (Exception) { }
     234            } catch (Exception) { }
    239235
    240236            if (problem != null) {
     
    279275    private void CallAsync(Action call, string errorMessage, Action continueWith) {
    280276      BeginAsyncCall();
    281       call.BeginInvoke(delegate(IAsyncResult result) {
     277      call.BeginInvoke(delegate (IAsyncResult result) {
    282278        Exception exception = null;
    283279        try {
    284280          call.EndInvoke(result);
    285         }
    286         catch (Exception ex) {
     281        } catch (Exception ex) {
    287282          exception = ex;
    288283        }
Note: See TracChangeset for help on using the changeset viewer.