コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.grdSettingsMaintPanel1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tblkTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\Controls\CtlSettings.xaml"
     this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.grdSettingsLeftPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.btnHelp = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 28 "..\..\..\Controls\CtlSettings.xaml"
     this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.btnHelp_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnProfile = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 29 "..\..\..\Controls\CtlSettings.xaml"
     this.btnProfile.Click += new System.Windows.RoutedEventHandler(this.btnProfile_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnGeneral = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 30 "..\..\..\Controls\CtlSettings.xaml"
     this.btnGeneral.Click += new System.Windows.RoutedEventHandler(this.btnGeneral_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnAddMod = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 31 "..\..\..\Controls\CtlSettings.xaml"
     this.btnAddMod.Click += new System.Windows.RoutedEventHandler(this.btnAddMod_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnPBX = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 33 "..\..\..\Controls\CtlSettings.xaml"
     this.btnPBX.Click += new System.Windows.RoutedEventHandler(this.btnPBX_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnSkin = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 34 "..\..\..\Controls\CtlSettings.xaml"
     this.btnSkin.Click += new System.Windows.RoutedEventHandler(this.btnSkin_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnAboutVmukti = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 35 "..\..\..\Controls\CtlSettings.xaml"
     this.btnAboutVmukti.Click += new System.Windows.RoutedEventHandler(this.btnAboutVmukti_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnVMuktiVersion = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 36 "..\..\..\Controls\CtlSettings.xaml"
     this.btnVMuktiVersion.Click += new System.Windows.RoutedEventHandler(this.btnVMuktiVersion_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.cnvBottom = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.htmFrame1 = ((System.Windows.Controls.Frame)(target));
     return;
     case 16:
     this.btnDone = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\Controls\CtlSettings.xaml"
     this.btnDone.Click += new System.Windows.RoutedEventHandler(this.btnDone_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.cnvUploadMod = ((System.Windows.Controls.Canvas)(target));
     return;
     case 18:
     this.ctlUploadModule = ((VMukti.Presentation.Controls.UploadModule.CtlUploadModule)(target));
     return;
     case 19:
     this.cnvUploadGeneral = ((System.Windows.Controls.Canvas)(target));
     return;
     case 20:
     this.ctlGeneral = ((VMukti.Presentation.Controls.CtlGeneral)(target));
     return;
     case 21:
     this.cnvPBX = ((System.Windows.Controls.Canvas)(target));
     return;
     case 22:
     this.ctlPBX = ((VMukti.Presentation.Controls.CtlPBX)(target));
     return;
     case 23:
     this.cnvProfile = ((System.Windows.Controls.Canvas)(target));
     return;
     case 24:
     this.ctlProfile = ((VMukti.Presentation.Controls.CtlProfile)(target));
     return;
     case 25:
     this.cnvHelp = ((System.Windows.Controls.Canvas)(target));
     return;
     case 26:
     this.ctlVMuktiHelp = ((VMukti.Presentation.Controls.CtlVMuktiHelp)(target));
     return;
     case 27:
     this.cnvSkin = ((System.Windows.Controls.Canvas)(target));
     return;
     case 28:
     this.ctlSkin = ((VMukti.Presentation.Controls.CtlSkinPopUp)(target));
     return;
     case 29:
     this.cnvVMuktiVersion = ((System.Windows.Controls.Canvas)(target));
     return;
     case 30:
     this.ctlVMuktiVersion = ((VMukti.Presentation.Controls.CtlVMuktiVersion)(target));
     return;
     case 31:
     this.cnvAboutVmukti = ((System.Windows.Controls.Canvas)(target));
     return;
     case 32:
     this.tblVersionNumbre = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
ファイル: CtlSettings.g.cs プロジェクト: xiaoliukai/VMukti
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.tblkTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\Controls\CtlSettings.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.grdSettingsLeftPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.btnHelp = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 28 "..\..\..\Controls\CtlSettings.xaml"
                this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.btnHelp_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnProfile = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 29 "..\..\..\Controls\CtlSettings.xaml"
                this.btnProfile.Click += new System.Windows.RoutedEventHandler(this.btnProfile_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnGeneral = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 30 "..\..\..\Controls\CtlSettings.xaml"
                this.btnGeneral.Click += new System.Windows.RoutedEventHandler(this.btnGeneral_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnAddMod = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 31 "..\..\..\Controls\CtlSettings.xaml"
                this.btnAddMod.Click += new System.Windows.RoutedEventHandler(this.btnAddMod_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnPBX = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 33 "..\..\..\Controls\CtlSettings.xaml"
                this.btnPBX.Click += new System.Windows.RoutedEventHandler(this.btnPBX_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnSkin = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 34 "..\..\..\Controls\CtlSettings.xaml"
                this.btnSkin.Click += new System.Windows.RoutedEventHandler(this.btnSkin_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnAboutVmukti = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 35 "..\..\..\Controls\CtlSettings.xaml"
                this.btnAboutVmukti.Click += new System.Windows.RoutedEventHandler(this.btnAboutVmukti_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnVMuktiVersion = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 36 "..\..\..\Controls\CtlSettings.xaml"
                this.btnVMuktiVersion.Click += new System.Windows.RoutedEventHandler(this.btnVMuktiVersion_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.cnvBottom = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.htmFrame1 = ((System.Windows.Controls.Frame)(target));
                return;

            case 16:
                this.btnDone = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\..\Controls\CtlSettings.xaml"
                this.btnDone.Click += new System.Windows.RoutedEventHandler(this.btnDone_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.cnvUploadMod = ((System.Windows.Controls.Canvas)(target));
                return;

            case 18:
                this.ctlUploadModule = ((VMukti.Presentation.Controls.UploadModule.CtlUploadModule)(target));
                return;

            case 19:
                this.cnvUploadGeneral = ((System.Windows.Controls.Canvas)(target));
                return;

            case 20:
                this.ctlGeneral = ((VMukti.Presentation.Controls.CtlGeneral)(target));
                return;

            case 21:
                this.cnvPBX = ((System.Windows.Controls.Canvas)(target));
                return;

            case 22:
                this.ctlPBX = ((VMukti.Presentation.Controls.CtlPBX)(target));
                return;

            case 23:
                this.cnvProfile = ((System.Windows.Controls.Canvas)(target));
                return;

            case 24:
                this.ctlProfile = ((VMukti.Presentation.Controls.CtlProfile)(target));
                return;

            case 25:
                this.cnvHelp = ((System.Windows.Controls.Canvas)(target));
                return;

            case 26:
                this.ctlVMuktiHelp = ((VMukti.Presentation.Controls.CtlVMuktiHelp)(target));
                return;

            case 27:
                this.cnvSkin = ((System.Windows.Controls.Canvas)(target));
                return;

            case 28:
                this.ctlSkin = ((VMukti.Presentation.Controls.CtlSkinPopUp)(target));
                return;

            case 29:
                this.cnvVMuktiVersion = ((System.Windows.Controls.Canvas)(target));
                return;

            case 30:
                this.ctlVMuktiVersion = ((VMukti.Presentation.Controls.CtlVMuktiVersion)(target));
                return;

            case 31:
                this.cnvAboutVmukti = ((System.Windows.Controls.Canvas)(target));
                return;

            case 32:
                this.tblVersionNumbre = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }