Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void menuItemAbout_Click(object sender, RoutedEventArgs e)
        {
            AboutBoxWindow aboutBoxWindow = new AboutBoxWindow();

            aboutBoxWindow.Owner = this;
            aboutBoxWindow.ShowDialog();
        }
Пример #2
0
        private void MenuItemAbout_Click(object sender, RoutedEventArgs e)
        {
            var aboutBoxWindow = new AboutBoxWindow
            {
                Owner = this
            };

            aboutBoxWindow.ShowDialog();
        }