Example #1
0
        public XmlGenerator(MCU_FBL_MEM general_tab, OS_CORE os_tab, IO io_tab, CAN_UDS_SPI_ASC com_tab)
        {
            this.general_tab = general_tab;
            this.io_tab = io_tab;
            this.com_tab = com_tab;
            this.os_tab = os_tab;

            WordGen();

            XmlGen();
            
        }
Example #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;
        }
Example #3
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;
 }