/// <summary> /// Displays the Price Rebuild Item Names Database window, or, if already displayed, /// sets focus to the window /// </summary> private void DisplayRebuildItemNamesView() { if (this.rebuildItemNamesView == null || !this.rebuildItemNamesView.IsVisible) { this.rebuildItemNamesView = new RebuildNamesDatabaseView(this.CommerceService); this.rebuildItemNamesView.Show(); } else { this.priceNotificationsConfigView.Focus(); } }
/// <summary> /// Displays the Price Rebuild Item Names Database window, or, if already displayed, /// sets focus to the window /// </summary> public void DisplayRebuildItemNamesView() { if (this.rebuildItemNamesView == null || !this.rebuildItemNamesView.IsVisible) { this.rebuildItemNamesView = new RebuildNamesDatabaseView(); this.Container.ComposeParts(this.rebuildItemNamesView); this.rebuildItemNamesView.Show(); } else { this.rebuildItemNamesView.Focus(); } }