Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TwoItemComparisonTable = ((ItemCompare.ComparisonTable)(target));
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.TetherSpaceBinding = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:
                this.RowHost = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.ItemBrand2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.ItemName2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.ItemBrand1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.ItemName1 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.TwoItemComparisonTable = ((ItemCompare.ComparisonTable)(target));
     return;
     case 2:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.TetherSpaceBinding = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 4:
     this.RowHost = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.ItemBrand2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.ItemName2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.ItemBrand1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.ItemName1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }