Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((ForexCalculator.MainWindow)(target));
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.buyProfitText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.buyStopLossText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.buyOrderText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.sellProfitText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.sellStopLossText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.sellOrderText = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.sellOrderText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.sellOrderText_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.buyTakeProfitLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.buyStopLossLevel = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.buyOrderlabel = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.sellTakeProfitlabel = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.sellStopLossLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.sellOrderLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.MiddleTakeProfitLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.middleStopLossLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.middleOrderLevel = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.middleCurrentPriceLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.buyPriceText = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.buyPriceText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buyPriceText_TextChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.sellPriceText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((ForexCalculator.MainWindow)(target));
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.buyProfitText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.buyStopLossText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.buyOrderText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.sellProfitText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.sellStopLossText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.sellOrderText = ((System.Windows.Controls.TextBox)(target));
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.sellOrderText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.sellOrderText_TextChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.buyTakeProfitLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.buyStopLossLevel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.buyOrderlabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.sellTakeProfitlabel = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.sellStopLossLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.sellOrderLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.MiddleTakeProfitLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.middleStopLossLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.middleOrderLevel = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.middleCurrentPriceLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.buyPriceText = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\..\MainWindow.xaml"
     this.buyPriceText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buyPriceText_TextChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.sellPriceText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }