void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.LevelController = ((LL.Solutions.PMS.LevelController)(target)); return; } this._contentLoaded = true; }