void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.designerArea = ((Wss.Foundation.DesignArea)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((TestDesigner.MainWindow)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 3:
                this.lableItem = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 409 "..\..\MainWindow.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.closeButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.maxButton = ((System.Windows.Controls.Button)(target));

            #line 410 "..\..\MainWindow.xaml"
                this.maxButton.Click += new System.Windows.RoutedEventHandler(this.maxButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.mniButton = ((System.Windows.Controls.Button)(target));

            #line 415 "..\..\MainWindow.xaml"
                this.mniButton.Click += new System.Windows.RoutedEventHandler(this.mniButton_Click);

            #line default
            #line hidden
                return;

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

            #line 420 "..\..\MainWindow.xaml"
                this.menuButton.Click += new System.Windows.RoutedEventHandler(this.menuButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Menu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 9:
                this.lable1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.btnSys = ((System.Windows.Controls.Button)(target));

            #line 441 "..\..\MainWindow.xaml"
                this.btnSys.Click += new System.Windows.RoutedEventHandler(this.btnSys_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnAlarm = ((System.Windows.Controls.Button)(target));

            #line 442 "..\..\MainWindow.xaml"
                this.btnAlarm.Click += new System.Windows.RoutedEventHandler(this.btnAlarm_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnReport = ((System.Windows.Controls.Button)(target));

            #line 443 "..\..\MainWindow.xaml"
                this.btnReport.Click += new System.Windows.RoutedEventHandler(this.btnReport_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnMng = ((System.Windows.Controls.Button)(target));

            #line 444 "..\..\MainWindow.xaml"
                this.btnMng.Click += new System.Windows.RoutedEventHandler(this.btnMng_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnUser = ((System.Windows.Controls.Button)(target));

            #line 445 "..\..\MainWindow.xaml"
                this.btnUser.Click += new System.Windows.RoutedEventHandler(this.btnUser_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnDesign = ((System.Windows.Controls.Button)(target));

            #line 446 "..\..\MainWindow.xaml"
                this.btnDesign.Click += new System.Windows.RoutedEventHandler(this.btnDesign_Click);

            #line default
            #line hidden
                return;

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

            #line 447 "..\..\MainWindow.xaml"
                this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.btnHelp_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.i1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 18:
                this.designerArea = ((Wss.Foundation.DesignArea)(target));
                return;

            case 19:
                this.i2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.i3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 21:
                this.i4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 22:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.UserMenu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 24:
                this.miUser = ((System.Windows.Controls.MenuItem)(target));

            #line 503 "..\..\MainWindow.xaml"
                this.miUser.Click += new System.Windows.RoutedEventHandler(this.miSystem_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.miRole = ((System.Windows.Controls.MenuItem)(target));

            #line 504 "..\..\MainWindow.xaml"
                this.miRole.Click += new System.Windows.RoutedEventHandler(this.miSystem_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.miMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 505 "..\..\MainWindow.xaml"
                this.miMenu.Click += new System.Windows.RoutedEventHandler(this.miSystem_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.miUserRole = ((System.Windows.Controls.MenuItem)(target));

            #line 506 "..\..\MainWindow.xaml"
                this.miUserRole.Click += new System.Windows.RoutedEventHandler(this.miSystem_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.miRoleMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 507 "..\..\MainWindow.xaml"
                this.miRoleMenu.Click += new System.Windows.RoutedEventHandler(this.miSystem_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.SysMenu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 30:
                this.mconfigTX = ((System.Windows.Controls.MenuItem)(target));

            #line 519 "..\..\MainWindow.xaml"
                this.mconfigTX.Click += new System.Windows.RoutedEventHandler(this.mconfigTX_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.mconfigData = ((System.Windows.Controls.MenuItem)(target));

            #line 520 "..\..\MainWindow.xaml"
                this.mconfigData.Click += new System.Windows.RoutedEventHandler(this.mbtnQuit_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.mconfig1 = ((System.Windows.Controls.MenuItem)(target));

            #line 521 "..\..\MainWindow.xaml"
                this.mconfig1.Click += new System.Windows.RoutedEventHandler(this.mbtnUpdateUInfo_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.mconfig2 = ((System.Windows.Controls.MenuItem)(target));

            #line 522 "..\..\MainWindow.xaml"
                this.mconfig2.Click += new System.Windows.RoutedEventHandler(this.mbtnRemark_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.mconfig3 = ((System.Windows.Controls.MenuItem)(target));

            #line 523 "..\..\MainWindow.xaml"
                this.mconfig3.Click += new System.Windows.RoutedEventHandler(this.mbtnShengGao_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.mconfig4 = ((System.Windows.Controls.MenuItem)(target));

            #line 524 "..\..\MainWindow.xaml"
                this.mconfig4.Click += new System.Windows.RoutedEventHandler(this.mbtnRemark_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.mconfig5 = ((System.Windows.Controls.MenuItem)(target));

            #line 525 "..\..\MainWindow.xaml"
                this.mconfig5.Click += new System.Windows.RoutedEventHandler(this.mbtnRemark_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.mconfig6 = ((System.Windows.Controls.MenuItem)(target));

            #line 526 "..\..\MainWindow.xaml"
                this.mconfig6.Click += new System.Windows.RoutedEventHandler(this.mbtnGaoJing_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.mconfig7 = ((System.Windows.Controls.MenuItem)(target));

            #line 527 "..\..\MainWindow.xaml"
                this.mconfig7.Click += new System.Windows.RoutedEventHandler(this.mbtnRemark_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.mconfig8 = ((System.Windows.Controls.MenuItem)(target));

            #line 528 "..\..\MainWindow.xaml"
                this.mconfig8.Click += new System.Windows.RoutedEventHandler(this.mbtnRemark_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.mngMenu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 41:
                this.mMngOperateRecorder = ((System.Windows.Controls.MenuItem)(target));

            #line 540 "..\..\MainWindow.xaml"
                this.mMngOperateRecorder.Click += new System.Windows.RoutedEventHandler(this.mMngOperateRecorder_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.mMngData = ((System.Windows.Controls.MenuItem)(target));

            #line 541 "..\..\MainWindow.xaml"
                this.mMngData.Click += new System.Windows.RoutedEventHandler(this.mbtnQuit_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.alarmMenu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 44:
                this.miAlarmReadTime = ((System.Windows.Controls.MenuItem)(target));

            #line 553 "..\..\MainWindow.xaml"
                this.miAlarmReadTime.Click += new System.Windows.RoutedEventHandler(this.miAlarm_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.miAlarmSet = ((System.Windows.Controls.MenuItem)(target));

            #line 554 "..\..\MainWindow.xaml"
                this.miAlarmSet.Click += new System.Windows.RoutedEventHandler(this.miAlarm_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.miAlarmTemplate = ((System.Windows.Controls.MenuItem)(target));

            #line 555 "..\..\MainWindow.xaml"
                this.miAlarmTemplate.Click += new System.Windows.RoutedEventHandler(this.miAlarm_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.Report = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 48:
                this.miStationHourReport = ((System.Windows.Controls.MenuItem)(target));

            #line 568 "..\..\MainWindow.xaml"
                this.miStationHourReport.Click += new System.Windows.RoutedEventHandler(this.miReport_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.miStationDayReport = ((System.Windows.Controls.MenuItem)(target));

            #line 569 "..\..\MainWindow.xaml"
                this.miStationDayReport.Click += new System.Windows.RoutedEventHandler(this.miReport_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.Warning = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 51:
                this.mEnergyMng = ((System.Windows.Controls.MenuItem)(target));

            #line 581 "..\..\MainWindow.xaml"
                this.mEnergyMng.Click += new System.Windows.RoutedEventHandler(this.mEnergyMng_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.mWarn2 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 53:
                this.mWarn3 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 54:
                this.mWarn4 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 55:
                this.Help = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 56:
                this.mHelp1 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 57:
                this.mHelp2 = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 58:
                this.mHelp3 = ((System.Windows.Controls.MenuItem)(target));
                return;
            }
            this._contentLoaded = true;
        }