Esempio n. 1
0
        /// <summary> Показать окно известные проблемы </summary>
        public static void ShowProblems()
        {
            var windowProblems = new WindowInformation();

            windowProblems.Title = Application.Current.TryFindResource(@"WindowInformation_ProblemsTitle") as string;

            windowProblems.WebBrowserMain.Source = new Uri(Application.Current.TryFindResource(@"WindowInformation_ProblemsUrl") as string ?? "");

            windowProblems.ShowDialog();
        }
Esempio n. 2
0
        /// <summary> Показать окно о программе </summary>
        public static void ShowAbout()
        {
            var viewModelInformation = new ViewModelInformation();

            var windowAbout = new WindowInformation
            {
                DataContext       = viewModelInformation,
                WebBrowserMain    = { Source = new Uri(Application.Current.TryFindResource(@"WindowInformation_AboutUrl") as string ?? "") },
                StackPanelVersion = { Visibility = Visibility.Visible }
            };

            windowAbout.ShowDialog();
        }
Esempio n. 3
0
 /// <summary> Метод открытия о программе </summary>
 private void OpenAbout()
 {
     WindowInformation.ShowAbout();
 }