示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.general_tab = ((SRS_Maker.View.MCU_FBL_MEM)(target));
                return;

            case 3:
                this.os_tab = ((SRS_Maker.View.OS_CORE)(target));
                return;

            case 4:
                this.io_tab = ((SRS_Maker.View.IO)(target));
                return;

            case 5:
                this.com_tab = ((SRS_Maker.View.CAN_UDS_SPI_ASC)(target));
                return;

            case 6:
                this.com2_tab = ((SRS_Maker.View.COM)(target));
                return;

            case 7:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.XmlGenerate);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 2:
     this.general_tab = ((SRS_Maker.View.MCU_FBL_MEM)(target));
     return;
     case 3:
     this.os_tab = ((SRS_Maker.View.OS_CORE)(target));
     return;
     case 4:
     this.io_tab = ((SRS_Maker.View.IO)(target));
     return;
     case 5:
     this.com_tab = ((SRS_Maker.View.CAN_UDS_SPI_ASC)(target));
     return;
     case 6:
     this.com2_tab = ((SRS_Maker.View.COM)(target));
     return;
     case 7:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.XmlGenerate);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }