private void ReloadTree() { try { scenarioConfigurationTreeView.Clear(); dataEditPanel.Controls.Clear(); Cursor = Cursors.WaitCursor; scenarioConfigurationTreeView.BeginUpdate(); _enterpriseTestUIController.Load(); scenarioConfigurationTreeView.EndUpdate(); } finally { Cursor = Cursors.Default; } }
private void ReloadTree() { try { scenarioConfigurationTreeView.Clear(); dataEditPanel.Controls.Clear(); Cursor = Cursors.WaitCursor; scenarioConfigurationTreeView.BeginUpdate(); _enterpriseTestUIController.Load(); scenarioConfigurationTreeView.EndUpdate(); } catch (Exception e) { MessageBox.Show("Failed to Load Tree"); ConfigurationServices.SystemTrace.LogError(e); } finally { Cursor = Cursors.Default; } }