void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._image = ((System.Windows.Controls.Image)(target)); return; case 2: this._emotionList = ((EmotionAPI_WPF_Samples.EmotionListUserControl)(target)); return; } this._contentLoaded = true; }
public EmotionDetectionUsingVideoPage() { InitializeComponent(); _emotionListControl = (EmotionListUserControl)this._videoResultControl.ResultControl; }