ShowDialog() static private method

static private ShowDialog ( Window owner, PeerCastApplication app ) : void
owner System.Windows.Window
app PeerCastStation.Core.PeerCastApplication
return void
 internal static void ShowDialog(Window owner, PeerCastApplication app)
 {
   var window = new SettingsDialog(app);
   window.Owner = owner;
   window.ShowDialog();
 }
Beispiel #2
0
 private void OnOpenSettings(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
 {
     SettingsDialog.ShowDialog(this, ((PeerCastAppViewModel)this.DataContext).Model);
 }