Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.UserControl = ((OpenSpotify.Views.HomeView)(target));
         return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroWindow = ((OpenSpotify.Views.HomeView)(target));

            #line 23 "..\..\..\Views\HomeView.xaml"
                this.MetroWindow.Loaded += new System.Windows.RoutedEventHandler(this.HomeView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.HamburgerMenuControl = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }