Пример #1
0
        /// <summary>
        /// Executes about command. Opens about box.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AboutCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var window = new WindowAbout();

            window.Owner = this;
            window.ShowDialog();
        }
Пример #2
0
 /// <summary>
 /// Executes about command. Opens about box.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AboutCommand_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     WindowAbout window = new WindowAbout();
     window.Owner = this;
     window.ShowDialog();
 }