- Timestamp:
- 06/21/12 13:42:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Access.Views/3.3/UserViews/UserInformationDialog.cs
r8042 r8076 20 20 #endregion 21 21 22 using System; 22 23 using System.Windows.Forms; 23 24 … … 37 38 } 38 39 39 void Instance_Refreshed(object sender, System.EventArgs e) { 40 closeButton.Enabled = true; 40 void Instance_Refreshed(object sender, EventArgs e) { 41 if (this.InvokeRequired) 42 this.Invoke(new Action<object, EventArgs>(Instance_Refreshed), sender, e); 43 else 44 closeButton.Enabled = true; 41 45 } 42 46 43 void Instance_Refreshing(object sender, System.EventArgs e) { 44 closeButton.Enabled = false; 47 void Instance_Refreshing(object sender, EventArgs e) { 48 if (this.InvokeRequired) 49 this.Invoke(new Action<object, EventArgs>(Instance_Refreshing), sender, e); 50 else 51 closeButton.Enabled = false; 45 52 } 46 53
Note: See TracChangeset
for help on using the changeset viewer.