void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Portfolio = ((StockSharp.Xaml.PortfolioComboBox)(target));
                return;

            case 2:
                this.Price = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:
                this.IsBuy = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 5:
                this.IsSell = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.Send = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\NewOrderWindow.xaml"
                this.Send.Click += new System.Windows.RoutedEventHandler(this.SendClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Path = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.FindPath = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\MainWindow.xaml"
     this.FindPath.Click += new System.Windows.RoutedEventHandler(this.FindPath_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Connect = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.Connect.Click += new System.Windows.RoutedEventHandler(this.Connect_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Options = ((System.Windows.Controls.ComboBox)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.Options.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Options_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Volatility = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.BaseActivePrice = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.VolatilityMin = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.VolatilityMax = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.Portfolio = ((StockSharp.Xaml.PortfolioComboBox)(target));
     return;
     case 10:
     this.Start = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\MainWindow.xaml"
     this.Start.Click += new System.Windows.RoutedEventHandler(this.Start_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Path = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.FindPath = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.FindPath.Click += new System.Windows.RoutedEventHandler(this.FindPath_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Connect = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.Connect.Click += new System.Windows.RoutedEventHandler(this.Connect_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Options = ((System.Windows.Controls.ComboBox)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.Options.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Options_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 9:
                this.Portfolio = ((StockSharp.Xaml.PortfolioComboBox)(target));
                return;

            case 10:
                this.Start = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.Start.Click += new System.Windows.RoutedEventHandler(this.Start_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Portfolio = ((StockSharp.Xaml.PortfolioComboBox)(target));
                return;

            case 2:
                this.StopOrderType = ((System.Windows.Controls.ComboBox)(target));

            #line 35 "..\..\NewStopOrderWindow.xaml"
                this.StopOrderType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StopOrderTypeSelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.LinkedOrderType = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 4:
                this.OtherSecurityType = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 5:
                this.ExpirationDate = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

            case 6:
                this.StopPriceCondition = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 9:
                this.Volume = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.IsBuy = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 11:
                this.IsSell = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.Offset = ((StockSharp.Xaml.UnitEditor)(target));
                return;

            case 13:
                this.Spread = ((StockSharp.Xaml.UnitEditor)(target));
                return;

            case 14:
                this.OtherSecurities = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.LinkedOrderPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.LinkedOrderCancel = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.IsActiveTime = ((System.Windows.Controls.CheckBox)(target));

            #line 77 "..\..\NewStopOrderWindow.xaml"
                this.IsActiveTime.Checked += new System.Windows.RoutedEventHandler(this.IsActiveTimeChecked);

            #line default
            #line hidden
                return;

            case 18:
                this.ActiveTimeFrom = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 19:
                this.ActiveTimeTo = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 20:
                this.PartiallyMatched = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.UseMatchedBalance = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 23:
                this.Send = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\NewStopOrderWindow.xaml"
                this.Send.Click += new System.Windows.RoutedEventHandler(this.SendClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }