Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.mBaseControl = ((BlueStacks.BlueStacksUI.DimControlWithProgresBar)(target));
         return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
 void IComponentConnector.Connect(int connectionId, object target)
 {
     if (connectionId == 1)
     {
         this.mBaseControl = (DimControlWithProgresBar)target;
     }
     else
     {
         this._contentLoaded = true;
     }
 }
Beispiel #3
0
 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);
     }
 }