public void StartIntro() { if (isActive) { return; } isActive = true; var introManager = new IntroManager(new[] { new Intro(Intro.PageType.First, "Start", "PTV xServer .NET\nDemo Center", "PTV xServer .NET is a SDK which adds xServer functionality to .NET client applications. The PTV xServer .NET Demo Center provides " + "a set of code samples to build interactive map applications with the PTV xServers. The primary component is the WpfMap " + "control which is part of the PTV xServer .NET SDK. This control allows building interactive map applications with PTV " + "xServers. While the technology of it is based on Windows Presentation Foundation, the SDK also provides a FormsMap control " + "for easy WinForms integration.\n\nClick Next to continue the short instruction."), new Intro(Intro.PageType.Normal, "Connection", "Connect to your\ndesired xServers", "In the xServer tab you have the opportunity to set the connection data for the usage of " + "your own xServers. If you do not have any xServers available you can use a trial-key for PTV xServer internet by checking the key " + "button. The trial-key can access all test clusters like 'eu-n-test' but expires periodically. So you have to download a fresh copy " + "of the PTV xServer .NET Demo Center.\n\nUsers of PTV xServer internet are able to easily connect to a specific cluster by setting " + "the URL to the needed cluster like 'eu-n'. Simply uncheck the key button to use your own PTV xServer internet token."), new Intro(Intro.PageType.Last, "ExploreUsecases", "Explore all your possibilities", "As the PTV xServer .NET Demo Center provides " + "code samples for building interactive map applications with our PTV xServers, you can explore those samples as use cases " + "located on the left side of Demo Center. Just expand one tab to read the description and start it.\n\n" + "For example just activate the checkbox in the 'Elementary routing' tab to show a basic routing.\n\nClick Start to explore " + "the PTV xServer .NET Demo Center on your own.") }, location); introManager.StartIntro(); introManager.HandlerCallback = (id, start) => HandlerCallback(id, start); }
public void StartDragDropIntro() { if (isActive) { return; } isActive = true; var introManager = new IntroManager(new[] { new Intro(Intro.PageType.Single, "Routing", "Drag & Drop Routing Demo", "To calculate a route you have to set at minimum two waypoints " + "for the calculation. Simply right click in the map on the desired location and select 'Route from here' to set your start and " + "click on 'Route to here' to set your destination. To extend the route you are able to add more waypoints by selecting " + "'Add destination'.\nIf the minimum of two waypoints are set and the route shows up you have the oppurtunity to " + "drag and drop the painted route as you like. After there are any changes to route segments they will be re-calculated.\n\n" + "Click Start to explore the Drag and Drop routing use case.") }, location); introManager.StartIntro(); introManager.HandlerCallback = (id, start) => HandlerCallback(id, start); }