void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mBaseControl = ((BlueStacks.BlueStacksUI.DimControlWithProgresBar)(target)); return; } this._contentLoaded = true; }
void IComponentConnector.Connect(int connectionId, object target) { if (connectionId == 1) { this.mBaseControl = (DimControlWithProgresBar)target; } else { this._contentLoaded = true; } }
void IComponentConnector.Connect(int connectionId, object target) { if (connectionId != 1) { if (connectionId == 2) { this.mBaseControl = (DimControlWithProgresBar)target; } else { this._contentLoaded = true; } } else { ((UIElement)target).IsVisibleChanged += new DependencyPropertyChangedEventHandler(this.UserControl_IsVisibleChanged); } }