void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.constructionChangeDirectivesWindow = ((SmartCA.Presentation.Views.ConstructionChangeDirectiveView)(target)); return; } this._contentLoaded = true; }
private void constructionChangeDirectivesButton_Clicked(object sender, RoutedEventArgs e) { IView view = new ConstructionChangeDirectiveView(); view.Show(); }