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

            #line 6 "..\..\MainWindow.xaml"
                ((BMC.ExComms.Simulator.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grdContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.tabContent = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.axConfiguration = ((BMC.ExComms.Simulator.Views.AxMainConfiguration)(target));
                return;

            case 6:
                this.axRequest = ((BMC.ExComms.Simulator.Views.AxMainRequest)(target));
                return;

            case 7:
                this.axRawMessages = ((BMC.ExComms.Simulator.Views.AxMainRawMessages)(target));
                return;

            case 8:
                this.btnStartGMUs = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.btnStopGMUs = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.axConsole = ((BMC.ExComms.Simulator.Views.AxMainConsole)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\MainWindow.xaml"
     ((BMC.ExComms.Simulator.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.grdContent = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.tabContent = ((System.Windows.Controls.TabControl)(target));
     return;
     case 5:
     this.axConfiguration = ((BMC.ExComms.Simulator.Views.AxMainConfiguration)(target));
     return;
     case 6:
     this.axRequest = ((BMC.ExComms.Simulator.Views.AxMainRequest)(target));
     return;
     case 7:
     this.axRawMessages = ((BMC.ExComms.Simulator.Views.AxMainRawMessages)(target));
     return;
     case 8:
     this.btnStartGMUs = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.btnStopGMUs = ((System.Windows.Controls.Button)(target));
     return;
     case 10:
     this.axConsole = ((BMC.ExComms.Simulator.Views.AxMainConsole)(target));
     return;
     }
     this._contentLoaded = true;
 }