void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myGrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.GIF = ((System.Windows.Controls.MediaElement)(target)); #line 17 "..\..\..\Views\StartView.xaml" this.GIF.MediaEnded += new System.Windows.RoutedEventHandler(this.GIF_MediaEnded); #line default #line hidden #line 17 "..\..\..\Views\StartView.xaml" this.GIF.MediaOpened += new System.Windows.RoutedEventHandler(this.GIF_MediaOpened); #line default #line hidden return; case 3: this.updGIF = ((RSSMachine.UpdateControl)(target)); return; case 4: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\..\Views\StartView.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 5: this.btnStop = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\Views\StartView.xaml" this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnRealRSS = ((RSSMachine.HMIButton)(target)); return; case 2: this.btnSimRSS = ((RSSMachine.HMIButton)(target)); return; case 3: this.updRealRSS = ((RSSMachine.UpdateControl)(target)); return; case 4: this.txtCaption = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }