public PushDialog(PublishProfile package) { this.cancellationToken = new CancellationToken(); this.publishProfileResources = new PublishProfileEditorResources(package, this.cancellationToken); this.DataContext = this.publishProfileResources; this.Owner = System.Windows.Application.Current.MainWindow; this.InitializeComponent(); }
public PushDialog(PublishProfile package) { this.cancellationToken = new CancellationToken(); this.publishProfileResources = new PublishProfileEditorResources(package, this.cancellationToken); this.DataContext = this.publishProfileResources; this.InitializeComponent(); }