Пример #1
0
        public static HelpContents GetHelpContents()
        {
            if (helpContents == null)
            {
                helpContents = new HelpContents()
                    .AddSection("Website Overview")
                        .Add("Overview of Maps")
                        .Add("Interactive Maps")
                        .Add("ToolBar")
                        .Add("Tasks")
                        .Add("Map Contents")
                    .AddSection("Searching")
                        .Add("Quick Search")
                        .Add("Search Tips")
                        .Add("Google Map")
                        .Add("Advanced Search")
                        .Add("Tabular Data Results");
            }

            return helpContents;
        }
Пример #2
0
 public HelpViewModel()
 {
     HelpTopics        = HelpContents.GetAllHelpTopics();
     SelectedHelpTopic = HelpTopics.Single(h => h == HelpContents.Introduction);
 }