コード例 #1
0
        // executes about command. Opens about box

        private void AboutCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var window = new WindowAbout();

            window.Owner = this;
            window.ShowDialog();
        }
コード例 #2
0
ファイル: WindowMain.xaml.cs プロジェクト: tuansolo/CodeBase
        // executes about command. Opens about box

        private void AboutCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var window = new WindowAbout();
            window.Owner = this;
            window.ShowDialog();
        }