void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WelcomeWindow = ((sungrow_demo.SysConfig)(target)); #line 4 "..\..\..\SysConfig.xaml" this.WelcomeWindow.Loaded += new System.Windows.RoutedEventHandler(this.WelcomeWindow_Loaded); #line default #line hidden return; case 2: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); #line 6 "..\..\..\SysConfig.xaml" this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged); #line default #line hidden return; case 3: this.tabPlants = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.tabItem1 = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\SysConfig.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 6: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.plantsList1 = ((System.Windows.Controls.Canvas)(target)); return; case 8: this.label11 = ((System.Windows.Controls.Label)(target)); return; case 9: this.label23 = ((System.Windows.Controls.Label)(target)); return; case 10: this.label36 = ((System.Windows.Controls.Label)(target)); return; case 11: this.label47 = ((System.Windows.Controls.Label)(target)); return; case 12: this.label8 = ((System.Windows.Controls.Label)(target)); return; case 13: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 14: this.label10 = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\SysConfig.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 16: this.btnReStart = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\..\SysConfig.xaml" this.btnReStart.Click += new System.Windows.RoutedEventHandler(this.btnReStart_Click); #line default #line hidden return; case 17: this.plantsList = ((System.Windows.Controls.Canvas)(target)); return; case 18: this.grolbaConfig = ((System.Windows.Controls.Canvas)(target)); return; case 19: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 20: this.tbxmainpageinterval = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 22: this.tbxheight = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 24: this.tbxtipsinterval = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 26: this.tbxdetailinterval = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 28: this.tbxuname = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 30: this.pboxpwd = ((System.Windows.Controls.PasswordBox)(target)); return; case 31: this.btnloadplants = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\SysConfig.xaml" this.btnloadplants.Click += new System.Windows.RoutedEventHandler(this.btnloadplants_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WelcomeWindow = ((sungrow_demo.SysConfig)(target)); #line 4 "..\..\..\SysConfig.xaml" this.WelcomeWindow.Loaded += new System.Windows.RoutedEventHandler(this.WelcomeWindow_Loaded); #line default #line hidden return; case 2: this.tabControl1 = ((System.Windows.Controls.TabControl)(target)); #line 6 "..\..\..\SysConfig.xaml" this.tabControl1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabControl1_SelectionChanged); #line default #line hidden return; case 3: this.tabPlants = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.tabItem1 = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\SysConfig.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 6: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.plantsList1 = ((System.Windows.Controls.Canvas)(target)); return; case 8: this.label11 = ((System.Windows.Controls.Label)(target)); return; case 9: this.label23 = ((System.Windows.Controls.Label)(target)); return; case 10: this.label36 = ((System.Windows.Controls.Label)(target)); return; case 11: this.label47 = ((System.Windows.Controls.Label)(target)); return; case 12: this.label8 = ((System.Windows.Controls.Label)(target)); return; case 13: this.label9 = ((System.Windows.Controls.Label)(target)); return; case 14: this.label10 = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnStart = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\..\SysConfig.xaml" this.btnStart.Click += new System.Windows.RoutedEventHandler(this.btnStart_Click); #line default #line hidden return; case 16: this.btnReStart = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\..\SysConfig.xaml" this.btnReStart.Click += new System.Windows.RoutedEventHandler(this.btnReStart_Click); #line default #line hidden return; case 17: this.plantsList = ((System.Windows.Controls.Canvas)(target)); return; case 18: this.grolbaConfig = ((System.Windows.Controls.Canvas)(target)); return; case 19: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 20: this.tbxmainpageinterval = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 22: this.tbxheight = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.label6 = ((System.Windows.Controls.Label)(target)); return; case 24: this.tbxtipsinterval = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.label7 = ((System.Windows.Controls.Label)(target)); return; case 26: this.tbxdetailinterval = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 28: this.tbxuname = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.label5 = ((System.Windows.Controls.Label)(target)); return; case 30: this.pboxpwd = ((System.Windows.Controls.PasswordBox)(target)); return; case 31: this.btnloadplants = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\SysConfig.xaml" this.btnloadplants.Click += new System.Windows.RoutedEventHandler(this.btnloadplants_Click); #line default #line hidden return; } this._contentLoaded = true; }