Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Orange.Create_FavoritePlaylistUserControl)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));

            #line 11 "..\..\..\..\Main\DialogUserControls\Create_FavoritePlaylistUserControl.xaml"
                this.LayoutRoot.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LayoutRoot_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 15 "..\..\..\..\Main\DialogUserControls\Create_FavoritePlaylistUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.confirm_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 16 "..\..\..\..\Main\DialogUserControls\Create_FavoritePlaylistUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.InputTxb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.title = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Orange.Create_FavoritePlaylistUserControl)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     
     #line 11 "..\..\..\..\Main\DialogUserControls\Create_FavoritePlaylistUserControl.xaml"
     this.LayoutRoot.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LayoutRoot_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 15 "..\..\..\..\Main\DialogUserControls\Create_FavoritePlaylistUserControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.confirm_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 16 "..\..\..\..\Main\DialogUserControls\Create_FavoritePlaylistUserControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.cancel_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.InputTxb = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.title = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }