Show() private méthode

private Show ( ) : void
Résultat void
        private void SetupSearch(string initial = null)
        {
            if (searchPanel == null)
            {
                searchPanel = SearchPane.GetForCurrentView(); //grab the search pane
                searchPanel.PlaceholderText = LocalizationManager.GetLocalizedValue("SearchPanePlaceholder"); //grab the localized place holder text
                if (initial != null)
                    searchPanel.Show(initial); //show the searchpanel if it doesn't have a value already.
            }

            searchPanel.QuerySubmitted += searchPanel_QuerySubmitted;

            searchPanel.SuggestionsRequested += searchPanel_SuggestionsRequested;

            //if (initial != null)
            //    searchPanel.Show(initial);
        }