/// <summary> /// Preferences Trigger Handler /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void HandlePreferencesTriggered(object sender, TriggerEventArgs e) { IUQueryController queryController = Parent as IUQueryController; if (queryController == null) { return; } if (!queryController.CheckPendingChanges(true, true)) { return; } bool lRefresh = false; lRefresh = ScenarioManager.LaunchPreferencesScenario(queryController); if (!lRefresh) { return; } // Refresh all data OnExecuteCommand(new ExecuteCommandEventArgs(ExecuteCommandType.ExecuteRefresh)); }