xenadmin/XenAdmin/Dialogs/Wlb
Konstantina Chremmou 90589a30c9 Modified treeview and toolbar updates (#2264)
This PR is aimimg to (1) fix a regression introduced by #2223 whereby the toolbar items did not have the correct state on first launch; (2) improve performance by removing some updates which I believe are not needed.

* Removed some duplicate calls to RefershTreeView and UpdateToolbars because
they are called within the action's Complete event handler.
Also, normalise the way the treeview refresh is requested by the various actions the
commands are launching.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Removed some explicit calls to refresh the treeview since this is done by
the connection result handlers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* The toolbars and tabs should be updated every time the treeview is refreshed.

This should happen when the refresh event is handled rather than calling
UpdateToolbars explicitly after a treeview refresh is requested; also, it is
the treeview refreshes that should be throttled and not the toolbar and
tab updates (the throttling mechanism may need correction).
Also, removed unnecessary Invoke as we are already on the UI thread.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Simplified UpdateManager.Update event declaration.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-10-16 16:24:54 +01:00
..
ConfirmDeconfigureWLBDialog.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
ConfirmDeconfigureWLBDialog.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
ConfirmDeconfigureWLBDialog.resx Converted British spelling to American. 2013-12-13 13:51:16 +00:00
ConfirmDeconfigureWLBDialog.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
DisableWLBDialog.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
DisableWLBDialog.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
DisableWLBDialog.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
DisableWLBDialog.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
WlbConfigurationDialog.cs CA-255547: WLB code in XenCenter: Remove all code targetting <= 6.1 XenServers 2017-06-12 16:49:37 +01:00
WlbConfigurationDialog.Designer.cs CA-147612 - EN: background should expand to the right border. 2017-03-09 17:40:21 +00:00
WlbConfigurationDialog.ja.resx L10N:CA-205538 & other translation checkins 2017-04-19 14:36:03 +05:30
WlbConfigurationDialog.resx CA-147612 - EN: background should expand to the right border. 2017-03-09 17:40:21 +00:00
WlbConfigurationDialog.zh-CN.resx L10N:CA-205538 & other translation checkins 2017-04-19 14:36:03 +05:30
WlbCredentialsDialog.cs Modified treeview and toolbar updates (#2264) 2018-10-16 16:24:54 +01:00
WlbCredentialsDialog.Designer.cs CP-15951: Remove enbeded bmps in WLB credential dialog 2016-02-02 09:45:29 +08:00
WlbCredentialsDialog.ja.resx L10N:CA-205538 & other translation checkins 2017-04-19 14:36:03 +05:30
WlbCredentialsDialog.resx CA-211363: Replace 'User name' labels with 'Username' 2016-12-07 11:12:58 +00:00
WlbCredentialsDialog.zh-CN.resx L10N:CA-205538 & other translation checkins 2017-04-19 14:36:03 +05:30
WlbDeleteReportSubscriptionDialog.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
WlbDeleteReportSubscriptionDialog.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
WlbDeleteReportSubscriptionDialog.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbDeleteReportSubscriptionDialog.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
WlbEditScheduledTask.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
WlbEditScheduledTask.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbEditScheduledTask.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
WlbEditScheduledTask.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbEditScheduledTask.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
WlbReportCustomFilter.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
WlbReportCustomFilter.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbReportCustomFilter.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
WlbReportCustomFilter.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbReportCustomFilter.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
WlbReportSubscriptionDialog.cs Converted all extension get properties of the API classes to methods in order to 2017-09-03 03:35:30 +01:00
WlbReportSubscriptionDialog.designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbReportSubscriptionDialog.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
WlbReportSubscriptionDialog.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
WlbReportSubscriptionDialog.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30