Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.Access.Administration/3.3/Views/RefreshableUserListView.cs
- Timestamp:
- 11/23/15 16:14:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.Access.Administration/3.3/Views/RefreshableUserListView.cs
r12012 r13338 21 21 22 22 using System; 23 using HeuristicLab.MainForm; 24 23 25 namespace HeuristicLab.Clients.Access.Administration { 24 26 public partial class RefreshableUserListView : RefreshableView { … … 28 30 29 31 protected override void RefreshData() { 30 Content.RefreshUsersAsync( PluginInfrastructure.ErrorHandling.ShowErrorDialog);32 Content.RefreshUsersAsync((ex) => MainFormManager.MainForm.ShowError(ex.Message, ex)); 31 33 } 32 34 … … 68 70 foreach (var u in e.Items) { 69 71 if (u.Value.Id != Guid.Empty) { 70 Content.DeleteUserAsync(u.Value, PluginInfrastructure.ErrorHandling.ShowErrorDialog);72 Content.DeleteUserAsync(u.Value, (ex) => MainFormManager.MainForm.ShowError(ex.Message, ex)); 71 73 } 72 74 } … … 74 76 75 77 private void storeButton_Click(object sender, EventArgs e) { 76 Content.StoreUsersAsync( PluginInfrastructure.ErrorHandling.ShowErrorDialog);78 Content.StoreUsersAsync((ex) => MainFormManager.MainForm.ShowError(ex.Message, ex)); 77 79 } 78 80 }
Note: See TracChangeset
for help on using the changeset viewer.