Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.SmallNeedle)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.uxNeedle = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.SmallNeedle)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.uxNeedle = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }