private void GenerateSearchView()
        {
            RawSearchView = AgentUICoreMediator.GetAgentUICoreMediator.UIManager.GenerateViewOfSearchEntityArea(GetEntityUISetting());
            ManageSimpleSearchView();

            var searchClearCommand = new SearchClearCommand(this);

            RawSearchView.AddCommand(searchClearCommand.CommandManager);
            var simpleSearchconfirmcommand = new RawSearchConfirmCommand(this);

            RawSearchView.AddCommand(simpleSearchconfirmcommand.CommandManager);
        }
        private void GenerateSearchView()
        {
            AdvancedSearchView = AgentUICoreMediator.GetAgentUICoreMediator.UIManager.GenerateViewOfAdvancedSearch();
            ManageAdvancedSearchView();

            var clearSearchcommand = new SearchClearCommand(this);

            AdvancedSearchView.AddCommand(clearSearchcommand.CommandManager);
            var searchConfirmcommand = new AdvancedSearchConfirmCommand(this);

            AdvancedSearchView.AddCommand(searchConfirmcommand.CommandManager);
            //AdvancedSearchView.CommandExecuted += SearchView_CommandExecuted;
        }