Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MasterUserControl = ((WPFApp.views.MasterUserControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((WPFApp.views.MasterUserControl)(target));
                return;

            case 2:
                this.AlbumListView = ((System.Windows.Controls.ListView)(target));

            #line 28 "..\..\..\views\MasterUserControl.xaml"
                this.AlbumListView.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.GridViewColumnHeaderClickedHandler));

            #line default
            #line hidden
                return;

            case 3:

            #line 37 "..\..\..\views\MasterUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnTrackRemoved);

            #line default
            #line hidden
                return;

            case 4:
                this.Button_Add_Al = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\views\MasterUserControl.xaml"
                this.Button_Add_Al.Click += new System.Windows.RoutedEventHandler(this.NewAlbumAdded);

            #line default
            #line hidden
                return;

            case 5:
                this.button_Save = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\views\MasterUserControl.xaml"
                this.button_Save.Click += new System.Windows.RoutedEventHandler(this.On_Saved);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }