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