- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Clients.Access.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientRegistrationDialog.cs
r14185 r14927 34 34 using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(ClientRegistrationDialog), "Documents.ClientRegistrationInfo.rtf")) 35 35 richTextBox1.LoadFile(stream, RichTextBoxStreamType.RichText); 36 } 37 catch (Exception) { } 36 } catch (Exception) { } 38 37 } 39 38 -
branches/PersistenceReintegration/HeuristicLab.Clients.Access.Views/3.3/UserViews/ChangePasswordDialog.cs
r14185 r14927 91 91 92 92 public void ExecuteActionAsync(Action action) { 93 var call = new Func<Exception>(delegate () {93 var call = new Func<Exception>(delegate () { 94 94 try { 95 95 action(); 96 } 97 catch (Exception ex) { 96 } catch (Exception ex) { 98 97 return ex; 99 } 100 finally { 98 } finally { 101 99 HideProgressBar(); 102 100 } 103 101 return null; 104 102 }); 105 call.BeginInvoke(delegate (IAsyncResult result) {103 call.BeginInvoke(delegate (IAsyncResult result) { 106 104 Exception ex = call.EndInvoke(result); 107 105 if (ex != null) PluginInfrastructure.ErrorHandling.ShowErrorDialog(ex);
Note: See TracChangeset
for help on using the changeset viewer.