VersionInfoWindow.xaml の相互作用ロジック
Inheritance: System.Windows.Window
Ejemplo n.º 1
0
 private void OnAbout(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
 {
     var dialog = new VersionInfoWindow {
     Owner = this,
     DataContext = ((PeerCastAppViewModel)DataContext).VersionInfo
       };
       dialog.ShowDialog();
 }
Ejemplo n.º 2
0
 private void VersionInfoButton_Click(object sender, RoutedEventArgs e)
 {
     var dialog = new VersionInfoWindow
       {
     Owner = Window.GetWindow(this),
     DataContext = ((MainViewModel)DataContext).VersionInfo
       };
       dialog.ShowDialog();
 }