void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((TestUserControl.ucFullscreen)(target)); return; case 2: this.Timer = ((TestUserControl.ucTime)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((TestUserControl.MainWindow)(target)); return; case 2: this.myGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.MenuBar = ((TestUserControl.ucMenuBar)(target)); return; case 4: this.PlayList = ((TestUserControl.ucPlaylist)(target)); return; case 5: this.gridroot = ((System.Windows.Controls.Grid)(target)); return; case 6: this.MusicPreview = ((TestUserControl.MusicPreview)(target)); return; case 7: this.SliderForMedia = ((TestUserControl.MediaSlider)(target)); return; case 8: this.Timer = ((TestUserControl.ucTime)(target)); return; case 9: this.medElem = ((System.Windows.Controls.MediaElement)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((TestUserControl.MainWindow)(target)); return; case 2: this.myGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Timer = ((TestUserControl.ucTime)(target)); return; case 4: this.Playlist = ((TestUserControl.ucPlaylist)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((TestUserControl.ucTime)(target)); return; case 2: this.OnMouseEnter3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 3: this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target)); return; case 4: this.ellipse = ((System.Windows.Shapes.Ellipse)(target)); return; case 5: this.buttonPrev = ((System.Windows.Controls.Button)(target)); #line 118 "..\..\Copy of ucTime.xaml" this.buttonPrev.Click += new System.Windows.RoutedEventHandler(this.ButtonPrevClick); #line default #line hidden return; case 6: this.buttonPlay = ((System.Windows.Controls.Button)(target)); #line 131 "..\..\Copy of ucTime.xaml" this.buttonPlay.Click += new System.Windows.RoutedEventHandler(this.ButtonPlayClick); #line default #line hidden return; case 7: this.buttonStop = ((System.Windows.Controls.Button)(target)); #line 144 "..\..\Copy of ucTime.xaml" this.buttonStop.Click += new System.Windows.RoutedEventHandler(this.ButtonStopClick); #line default #line hidden return; case 8: this.buttonNext = ((System.Windows.Controls.Button)(target)); #line 157 "..\..\Copy of ucTime.xaml" this.buttonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNextClick); #line default #line hidden return; case 9: this.SoundSlider = ((System.Windows.Controls.Slider)(target)); return; case 10: this.ShuffleButton = ((System.Windows.Controls.Button)(target)); #line 185 "..\..\Copy of ucTime.xaml" this.ShuffleButton.Click += new System.Windows.RoutedEventHandler(this.ButtonShuffleClick); #line default #line hidden return; case 11: this.RepeatButton = ((System.Windows.Controls.Button)(target)); #line 198 "..\..\Copy of ucTime.xaml" this.RepeatButton.Click += new System.Windows.RoutedEventHandler(this.ButtonRepeatClick); #line default #line hidden return; } this._contentLoaded = true; }