void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ManagerWin = ((SomeWSRApp.WPF.Layer.Views.ManagerWindow)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ManagerWin = ((SomeWSRApp.WPF.Layer.Views.ManagerWindow)(target)); return; case 2: this.managerVM = ((SomeWSRApp.WPF.Layer.ViewModels.ManagerViewModel)(target)); return; case 3: this.ManagerFrame = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }