Exemple #1
0
        private void OnAbout(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
        {
            var dialog = new VersionInfoWindow {
                Owner       = this,
                DataContext = ((PeerCastAppViewModel)DataContext).VersionInfo
            };

            dialog.ShowDialog();
        }
Exemple #2
0
        /// <summary>
        /// コマンドを実行します。
        /// </summary>
        public void Execute()
        {
            var dialog = new VersionInfoWindow();

            dialog.ShowDialog();
        }