Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserInformationView.cs
- Timestamp:
- 11/23/15 16:14:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserInformationView.cs
r12012 r13338 22 22 using System; 23 23 using System.Windows.Forms; 24 using HeuristicLab.MainForm; 24 25 25 26 namespace HeuristicLab.Clients.Access.Views { … … 39 40 40 41 protected override void RefreshData() { 41 Content.ExecuteActionAsync(RefreshUserData, PluginInfrastructure.ErrorHandling.ShowErrorDialog);42 Content.ExecuteActionAsync(RefreshUserData, (ex) => MainFormManager.MainForm.ShowError(ex.Message, ex)); 42 43 } 43 44 … … 71 72 AccessClient.Instance.ExecuteActionAsync(new Action(delegate { 72 73 AccessClient.CallAccessService(x => x.UpdateLightweightUser(UserInformation.Instance.User)); 73 }), HeuristicLab.PluginInfrastructure.ErrorHandling.ShowErrorDialog);74 }), (ex) => MainFormManager.MainForm.ShowError(ex.Message, ex)); 74 75 } 75 76 }
Note: See TracChangeset
for help on using the changeset viewer.