Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((OptionTrader.MainWindow)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Window_MouseEnter);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((OptionTrader.MainWindow)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Window_MouseLeave);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((OptionTrader.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.BestBidBook = ((OptionTrader.OrderBookTable)(target));
                return;

            case 4:
                this.BestAskBook = ((OptionTrader.OrderBookTable)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((OptionTrader.MainWindow)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Window_MouseEnter);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((OptionTrader.MainWindow)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Window_MouseLeave);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((OptionTrader.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ToolBarTray = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 3:
     this.BestBidBook = ((OptionTrader.OrderBookTable)(target));
     return;
     case 4:
     this.BestAskBook = ((OptionTrader.OrderBookTable)(target));
     return;
     }
     this._contentLoaded = true;
 }