void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WelcomeWindow = ((sungrow_demo.Main)(target)); #line 4 "..\..\..\Main.xaml" this.WelcomeWindow.Loaded += new System.Windows.RoutedEventHandler(this.WelcomeWindow_Loaded); #line default #line hidden #line 4 "..\..\..\Main.xaml" this.WelcomeWindow.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WelcomeWindow_MouseDown); #line default #line hidden return; case 2: this.contentContainer = ((System.Windows.Controls.Grid)(target)); #line 5 "..\..\..\Main.xaml" this.contentContainer.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.contentContainer_MouseDown); #line default #line hidden return; case 3: this.tbxUserName = ((System.Windows.Controls.TextBox)(target)); #line 9 "..\..\..\Main.xaml" this.tbxUserName.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxUserName_MouseDown); #line default #line hidden return; case 4: this.imgClose = ((System.Windows.Controls.Image)(target)); #line 10 "..\..\..\Main.xaml" this.imgClose.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.exitSystem_Click); #line default #line hidden return; case 5: this.imgSmall = ((System.Windows.Controls.Image)(target)); #line 11 "..\..\..\Main.xaml" this.imgSmall.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgSmall_MouseUp); #line default #line hidden return; case 6: this.tbxUserPwd = ((System.Windows.Controls.TextBox)(target)); #line 12 "..\..\..\Main.xaml" this.tbxUserPwd.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxUserPwd_MouseDown); #line default #line hidden return; case 7: this.btnGetPlants = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\Main.xaml" this.btnGetPlants.Click += new System.Windows.RoutedEventHandler(this.btnGetPlants_Click); #line default #line hidden #line 13 "..\..\..\Main.xaml" this.btnGetPlants.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnGetPlants_MouseDown); #line default #line hidden return; case 8: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\..\Main.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 9: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\Main.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 10: this.btnReStart = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\Main.xaml" this.btnReStart.Click += new System.Windows.RoutedEventHandler(this.btnReStart_Click); #line default #line hidden return; case 11: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\..\Main.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.exitSystem_Click); #line default #line hidden return; case 12: this.plantsList = ((System.Windows.Controls.Canvas)(target)); return; case 13: this.imgPlant = ((System.Windows.Controls.Image)(target)); #line 32 "..\..\..\Main.xaml" this.imgPlant.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgPlant_MouseUp); #line default #line hidden return; case 14: this.imgGrobal = ((System.Windows.Controls.Image)(target)); #line 33 "..\..\..\Main.xaml" this.imgGrobal.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgGrobal_MouseUp); #line default #line hidden return; case 15: this.grolbaConfig = ((System.Windows.Controls.Canvas)(target)); #line 35 "..\..\..\Main.xaml" this.grolbaConfig.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.grolbaConfig_MouseDown); #line default #line hidden return; case 16: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 17: this.label11 = ((System.Windows.Controls.Label)(target)); return; case 18: this.tbxmainpageinterval = ((System.Windows.Controls.TextBox)(target)); #line 38 "..\..\..\Main.xaml" this.tbxmainpageinterval.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxmainpageinterval_MouseDown); #line default #line hidden return; case 19: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 20: this.label31 = ((System.Windows.Controls.Label)(target)); return; case 21: this.tbxheight = ((System.Windows.Controls.TextBox)(target)); #line 45 "..\..\..\Main.xaml" this.tbxheight.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxheight_MouseDown); #line default #line hidden return; case 22: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 23: this.label61 = ((System.Windows.Controls.Label)(target)); return; case 24: this.tbxtipsinterval = ((System.Windows.Controls.TextBox)(target)); #line 52 "..\..\..\Main.xaml" this.tbxtipsinterval.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxtipsinterval_MouseDown); #line default #line hidden return; case 25: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 26: this.label71 = ((System.Windows.Controls.Label)(target)); return; case 27: this.tbxdetailinterval = ((System.Windows.Controls.TextBox)(target)); #line 59 "..\..\..\Main.xaml" this.tbxdetailinterval.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxdetailinterval_MouseDown); #line default #line hidden return; case 28: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 29: this.tboxDomain = ((System.Windows.Controls.TextBox)(target)); #line 65 "..\..\..\Main.xaml" this.tboxDomain.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tboxDomain_MouseDown); #line default #line hidden return; case 30: this.labelSysname = ((System.Windows.Controls.Label)(target)); return; case 31: this.tboxSysname = ((System.Windows.Controls.TextBox)(target)); #line 71 "..\..\..\Main.xaml" this.tboxSysname.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tboxSysname_MouseDown); #line default #line hidden return; case 32: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 33: this.cbxCounterType = ((System.Windows.Controls.ComboBox)(target)); #line 77 "..\..\..\Main.xaml" this.cbxCounterType.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.cbxCounterType_MouseDown); #line default #line hidden return; case 34: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 35: this.incomeRate = ((System.Windows.Controls.TextBox)(target)); #line 82 "..\..\..\Main.xaml" this.incomeRate.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.incomeRate_MouseDown); #line default #line hidden return; case 36: this.label8 = ((System.Windows.Controls.Label)(target)); return; case 37: this.cbxCurrencyType = ((System.Windows.Controls.ComboBox)(target)); #line 88 "..\..\..\Main.xaml" this.cbxCurrencyType.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.cbxCurrencyType_MouseDown); #line default #line hidden return; case 38: this.displayItems = ((System.Windows.Controls.Grid)(target)); #line 96 "..\..\..\Main.xaml" this.displayItems.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.displayItems_MouseDown); #line default #line hidden return; case 39: this.cbxPlants = ((System.Windows.Controls.CheckBox)(target)); return; case 40: this.cbxTodayEnergy = ((System.Windows.Controls.CheckBox)(target)); return; case 41: this.cbxTotalEnergy = ((System.Windows.Controls.CheckBox)(target)); return; case 42: this.cbxTodayPower = ((System.Windows.Controls.CheckBox)(target)); return; case 43: this.cbxTotalDesignPower = ((System.Windows.Controls.CheckBox)(target)); return; case 44: this.cbxTotalTrees = ((System.Windows.Controls.CheckBox)(target)); return; case 45: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 46: this.displayPages = ((System.Windows.Controls.Grid)(target)); #line 105 "..\..\..\Main.xaml" this.displayPages.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.displayPages_MouseDown); #line default #line hidden return; case 47: this.cboxPagePowerChart = ((System.Windows.Controls.CheckBox)(target)); return; case 48: this.cboxPageWeekEnergyChart = ((System.Windows.Controls.CheckBox)(target)); return; case 49: this.cboxPageMonthEnergyChart = ((System.Windows.Controls.CheckBox)(target)); return; case 50: this.label10 = ((System.Windows.Controls.Label)(target)); return; case 51: this.label12 = ((System.Windows.Controls.Label)(target)); return; case 52: this.cbxMasterLanguage = ((System.Windows.Controls.ComboBox)(target)); return; case 53: this.cbxLanguage = ((System.Windows.Controls.ComboBox)(target)); return; case 54: this.label13 = ((System.Windows.Controls.Label)(target)); return; case 55: this.tboxhyc = ((System.Windows.Controls.TextBox)(target)); return; case 56: this.cbxTotalRecome = ((System.Windows.Controls.CheckBox)(target)); return; case 57: this.cbxTotalCo2 = ((System.Windows.Controls.CheckBox)(target)); return; case 58: this.label14 = ((System.Windows.Controls.Label)(target)); return; case 59: this.tbxLogoPath = ((System.Windows.Controls.TextBox)(target)); return; case 60: this.label15 = ((System.Windows.Controls.Label)(target)); return; case 61: this.tbxInsideLogoPath = ((System.Windows.Controls.TextBox)(target)); return; case 62: this.btnLogoConfirm = ((System.Windows.Controls.Button)(target)); #line 135 "..\..\..\Main.xaml" this.btnLogoConfirm.Click += new System.Windows.RoutedEventHandler(this.btnLogoConfirm_Click); #line default #line hidden return; case 63: this.btnInsideLogo = ((System.Windows.Controls.Button)(target)); #line 136 "..\..\..\Main.xaml" this.btnInsideLogo.Click += new System.Windows.RoutedEventHandler(this.btnInsideLogo_Click); #line default #line hidden return; case 64: this.lblMainPage = ((System.Windows.Controls.Label)(target)); #line 138 "..\..\..\Main.xaml" this.lblMainPage.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.lblMainPage_MouseUp); #line default #line hidden return; case 65: this.lblPrePage = ((System.Windows.Controls.Label)(target)); #line 139 "..\..\..\Main.xaml" this.lblPrePage.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.lblPrePage_MouseUp); #line default #line hidden return; case 66: this.lblNextPage = ((System.Windows.Controls.Label)(target)); #line 140 "..\..\..\Main.xaml" this.lblNextPage.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.lblNextPage_MouseUp); #line default #line hidden return; case 67: this.lblCurPage = ((System.Windows.Controls.Label)(target)); return; case 68: this.comPageList = ((System.Windows.Controls.ComboBox)(target)); #line 142 "..\..\..\Main.xaml" this.comPageList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comPageList_SelectionChanged); #line default #line hidden return; case 69: this.lblSkip = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }