예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbTradeType = ((System.Windows.Controls.ComboBox)(target));

            #line 16 "..\..\..\..\Views\Controls\TradeRecordControl.xaml"
                this.cmbTradeType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbTradeType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.controlAlipayHistory = ((SuperMinersWPF.Views.Controls.AlipayHistoryRecordControl)(target));
                return;

            case 3:
                this.controlGoldCoinHistory = ((SuperMinersWPF.Views.Controls.GoldCoinRechargeHistoryRecordControl)(target));
                return;

            case 4:
                this.controlMinerHistory = ((SuperMinersWPF.Views.Controls.MinerTradeHistoryRecordControl)(target));
                return;

            case 5:
                this.controlMineHistory = ((SuperMinersWPF.Views.Controls.MineTradeHistoryRecordControl)(target));
                return;

            case 6:
                this.controlWithdrawHistory = ((SuperMinersWPF.Views.Controls.WithdrawRMBHistoryRecordControl)(target));
                return;

            case 7:
                this.controlStoneNotFinishedRecord = ((SuperMinersWPF.Views.Controls.StoneNotFinishedBuyTradeRecordControl)(target));
                return;

            case 8:
                this.controlStoneBuyHistory = ((SuperMinersWPF.Views.Controls.StoneBuyTradeHistoryRecordControl)(target));
                return;

            case 9:
                this.controlStoneSellHistory = ((SuperMinersWPF.Views.Controls.StoneSellTradeHistoryRecordControl)(target));
                return;

            case 10:
                this.controlDelegateStoneBuyHistory = ((SuperMinersWPF.Views.Controls.DelegateBuyStoneHistoryRecordControl)(target));
                return;

            case 11:
                this.controlDelegateStoneSellHistory = ((SuperMinersWPF.Views.Controls.DelegateSellStoneHistoryRecordControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.controlStoneActiveOrderList = ((SuperMinersWPF.Views.Controls.StoneActiveOrderListControl)(target));
                return;

            case 2:
                this.controlStoneNotFinishedList = ((SuperMinersWPF.Views.Controls.StoneNotFinishedBuyTradeRecordControl)(target));
                return;
            }
            this._contentLoaded = true;
        }