Пример #1
0
        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            MenuItem menuItem = (MenuItem)sender;

            if (menuItem.Header.ToString() == "View FancyCandles Documentation")
            {
                System.Diagnostics.Process.Start("https://gellerda.github.io/FancyCandles/articles/overview.html");
            }
            else if (menuItem.Header.ToString() == "FancyCandles GitHub Repo")
            {
                System.Diagnostics.Process.Start("https://github.com/gellerda/FancyCandles");
            }
            else if (menuItem.Header.ToString() == "FancyCandles NuGet Package")
            {
                System.Diagnostics.Process.Start("https://www.nuget.org/packages/FancyCandles/");
            }
            else if (menuItem.Header.ToString() == "FancyCandles Demo GitHub Repo")
            {
                System.Diagnostics.Process.Start("https://github.com/gellerda/FancyCandleChartDemo");
            }
            else if (menuItem.Header.ToString() == "About FancyCandles Demo")
            {
                IntroWindow popup = new IntroWindow();
                popup.ShowDialog();
            }
        }
Пример #2
0
        //-----------------------------------------------------------------------------------------------------------------
        public void OnEverythingLoaded(object sender, RoutedEventArgs e)
        {
            IntroWindow popup = new IntroWindow();

            popup.ShowDialog();
        }