Exemple #1
0
 Window CreateWindow(IGitHubDialogWindowViewModel dialogViewModel)
 {
     return(new ExternalGitHubDialogWindow(dialogViewModel)
     {
         Owner = ownerWindow
     });
 }
Exemple #2
0
 public GitHubDialogWindow(IGitHubDialogWindowViewModel viewModel)
 {
     DataContext = viewModel;
     viewModel.Done.Subscribe(_ => Close());
     InitializeComponent();
 }