void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((TestUserControl.ucNewPlaylist)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.buttonCreate = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\ucNewPlaylist.xaml" this.buttonCreate.Click += new System.Windows.RoutedEventHandler(this.ButtonCreateClick); #line default #line hidden return; case 4: this.buttonCancel = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\ucNewPlaylist.xaml" this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.ButtonCancelClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myWindow = ((TestUserControl.ucNewPlaylist)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.textplay = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.buttonCreate = ((System.Windows.Controls.Button)(target)); return; case 5: this.buttonCancel = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }