示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewModel = ((HubCrawl.Module.Apps.ViewModels.AppViewModel)(target));
                return;

            case 2:
                this.PanoramaControl = ((HubCrawl.WPF.Controls.Panorama)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ViewModel = ((HubCrawl.Module.Apps.ViewModels.AppViewModel)(target));
     return;
     case 2:
     this.PanoramaControl = ((HubCrawl.WPF.Controls.Panorama)(target));
     return;
     }
     this._contentLoaded = true;
 }