void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txtSearch = ((FoodSafetyMonitoring.Manager.UserControls.TextboxSearchControl)(target)); return; case 2: this.lvlist = ((System.Windows.Controls.ListView)(target)); return; case 5: this.btnCreate = ((System.Windows.Controls.Button)(target)); #line 108 "..\..\..\Manager\SysRoleManager.xaml" this.btnCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click); #line default #line hidden return; case 6: this.txt_RoleName = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txt_RoleExplain = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txt_vComment = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.txtMsg = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 138 "..\..\..\Manager\SysRoleManager.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 11: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 139 "..\..\..\Manager\SysRoleManager.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Clear_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txtSearch = ((FoodSafetyMonitoring.Manager.UserControls.TextboxSearchControl)(target)); return; case 2: this.lvlist = ((System.Windows.Controls.ListView)(target)); return; case 5: this.btnCreate = ((System.Windows.Controls.Button)(target)); #line 98 "..\..\..\Manager\SysUserManager.xaml" this.btnCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click); #line default #line hidden return; case 6: this._loginName = ((System.Windows.Controls.TextBox)(target)); #line 122 "..\..\..\Manager\SysUserManager.xaml" this._loginName.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 7: this.txtUserName = ((System.Windows.Controls.TextBox)(target)); #line 124 "..\..\..\Manager\SysUserManager.xaml" this.txtUserName.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 8: this.cmbRoleType = ((System.Windows.Controls.ComboBox)(target)); return; case 9: this._department = ((System.Windows.Controls.ComboBox)(target)); #line 131 "..\..\..\Manager\SysUserManager.xaml" this._department.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 10: this.dtpStartDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target)); return; case 11: this.dtpEndDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target)); return; case 12: this.txtComment = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.txtMsg = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 145 "..\..\..\Manager\SysUserManager.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 15: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 146 "..\..\..\Manager\SysUserManager.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Clear_Click); #line default #line hidden return; case 16: this.btnReset = ((System.Windows.Controls.Button)(target)); #line 147 "..\..\..\Manager\SysUserManager.xaml" this.btnReset.Click += new System.Windows.RoutedEventHandler(this.Reset_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txtSearch = ((FoodSafetyMonitoring.Manager.UserControls.TextboxSearchControl)(target)); return; case 2: this.lvlist = ((System.Windows.Controls.ListView)(target)); return; case 5: this.btnCreate = ((System.Windows.Controls.Button)(target)); #line 104 "..\..\..\Manager\SysPersonManager.xaml" this.btnCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click); #line default #line hidden return; case 6: this.txtPersonCode = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.cmbPersonType = ((System.Windows.Controls.ComboBox)(target)); #line 141 "..\..\..\Manager\SysPersonManager.xaml" this.cmbPersonType.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden #line 141 "..\..\..\Manager\SysPersonManager.xaml" this.cmbPersonType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbPersonType_SelectionChanged); #line default #line hidden return; case 8: this.txtPersonName = ((System.Windows.Controls.TextBox)(target)); #line 144 "..\..\..\Manager\SysPersonManager.xaml" this.txtPersonName.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 9: this.imgPhoto = ((System.Windows.Controls.Image)(target)); return; case 10: this.btnAddPhoto = ((System.Windows.Controls.Button)(target)); #line 151 "..\..\..\Manager\SysPersonManager.xaml" this.btnAddPhoto.Click += new System.Windows.RoutedEventHandler(this.btnAddPhoto_Click); #line default #line hidden return; case 11: this.btnDeletePhoto = ((System.Windows.Controls.Button)(target)); #line 153 "..\..\..\Manager\SysPersonManager.xaml" this.btnDeletePhoto.Click += new System.Windows.RoutedEventHandler(this.btnDeletePhoto_Click); #line default #line hidden return; case 12: this.rdbMale = ((System.Windows.Controls.RadioButton)(target)); return; case 13: this.rdbFemale = ((System.Windows.Controls.RadioButton)(target)); return; case 14: this.cmbDept = ((System.Windows.Controls.ComboBox)(target)); return; case 15: this.cmbPersonProperty = ((System.Windows.Controls.ComboBox)(target)); return; case 16: this.txtBirthday = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target)); return; case 17: this.txtHomeAddress = ((System.Windows.Controls.TextBox)(target)); #line 171 "..\..\..\Manager\SysPersonManager.xaml" this.txtHomeAddress.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 18: this.txtPersonPhone = ((System.Windows.Controls.TextBox)(target)); #line 173 "..\..\..\Manager\SysPersonManager.xaml" this.txtPersonPhone.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 19: this.cmbArea = ((System.Windows.Controls.ComboBox)(target)); #line 190 "..\..\..\Manager\SysPersonManager.xaml" this.cmbArea.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbArea_SelectionChanged); #line default #line hidden return; case 20: this.cmbBuildingNo = ((System.Windows.Controls.ComboBox)(target)); #line 192 "..\..\..\Manager\SysPersonManager.xaml" this.cmbBuildingNo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbBuildingNo_SelectionChanged); #line default #line hidden return; case 21: this.cmbFloor = ((System.Windows.Controls.ComboBox)(target)); #line 194 "..\..\..\Manager\SysPersonManager.xaml" this.cmbFloor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbFloor_SelectionChanged); #line default #line hidden return; case 22: this.cmbLocation = ((System.Windows.Controls.ComboBox)(target)); #line 196 "..\..\..\Manager\SysPersonManager.xaml" this.cmbLocation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbLocation_SelectionChanged); #line default #line hidden return; case 23: this.cmbBedNo = ((System.Windows.Controls.ComboBox)(target)); return; case 24: this.container = ((System.Windows.Controls.Border)(target)); return; case 25: this.txtContactName = ((System.Windows.Controls.TextBox)(target)); #line 216 "..\..\..\Manager\SysPersonManager.xaml" this.txtContactName.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 26: this.txtContactRelationship = ((System.Windows.Controls.TextBox)(target)); #line 218 "..\..\..\Manager\SysPersonManager.xaml" this.txtContactRelationship.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 27: this.txtContactPhone = ((System.Windows.Controls.TextBox)(target)); #line 220 "..\..\..\Manager\SysPersonManager.xaml" this.txtContactPhone.GotFocus += new System.Windows.RoutedEventHandler(this.FrameworkElement_GotFocus); #line default #line hidden return; case 28: this.txtComment = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.txtMsg = ((System.Windows.Controls.TextBlock)(target)); return; case 30: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 227 "..\..\..\Manager\SysPersonManager.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 31: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 229 "..\..\..\Manager\SysPersonManager.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; case 32: this.txtPersonCodeForSelect = ((System.Windows.Controls.TextBox)(target)); return; case 33: this.cmbPersonTypeForSelect = ((System.Windows.Controls.ComboBox)(target)); return; case 34: this.btnSelect = ((System.Windows.Controls.Button)(target)); #line 256 "..\..\..\Manager\SysPersonManager.xaml" this.btnSelect.Click += new System.Windows.RoutedEventHandler(this.btnSelect_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txtSearch = ((FoodSafetyMonitoring.Manager.UserControls.TextboxSearchControl)(target)); return; case 2: this._treeView = ((System.Windows.Controls.TreeView)(target)); return; case 4: this._detail_info_all = ((System.Windows.Controls.Grid)(target)); return; case 5: this._add = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\..\Manager\SysDeptManager.xaml" this._add.Click += new System.Windows.RoutedEventHandler(this._add_Click); #line default #line hidden return; case 6: this._delete = ((System.Windows.Controls.Button)(target)); #line 81 "..\..\..\Manager\SysDeptManager.xaml" this._delete.Click += new System.Windows.RoutedEventHandler(this._delete_Click); #line default #line hidden return; case 7: this._edit = ((System.Windows.Controls.Button)(target)); #line 82 "..\..\..\Manager\SysDeptManager.xaml" this._edit.Click += new System.Windows.RoutedEventHandler(this._edit_Click); #line default #line hidden return; case 8: this._detail_info = ((System.Windows.Controls.Grid)(target)); return; case 9: this._regional_level = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this._belong_to = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this._lower_area = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this._superior_department = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this._station = ((System.Windows.Controls.TextBox)(target)); return; case 14: this._station_property = ((System.Windows.Controls.StackPanel)(target)); return; case 15: this._direct_station = ((System.Windows.Controls.CheckBox)(target)); #line 121 "..\..\..\Manager\SysDeptManager.xaml" this._direct_station.Checked += new System.Windows.RoutedEventHandler(this._detect_method1_Checked); #line default #line hidden return; case 16: this._direct_station_2 = ((System.Windows.Controls.CheckBox)(target)); #line 122 "..\..\..\Manager\SysDeptManager.xaml" this._direct_station_2.Checked += new System.Windows.RoutedEventHandler(this._detect_method1_Checked); #line default #line hidden return; case 17: this._cultivate_station = ((System.Windows.Controls.CheckBox)(target)); #line 123 "..\..\..\Manager\SysDeptManager.xaml" this._cultivate_station.Checked += new System.Windows.RoutedEventHandler(this._detect_method1_Checked); #line default #line hidden return; case 18: this._slaughter_station = ((System.Windows.Controls.CheckBox)(target)); #line 124 "..\..\..\Manager\SysDeptManager.xaml" this._slaughter_station.Checked += new System.Windows.RoutedEventHandler(this._detect_method1_Checked); #line default #line hidden return; case 19: this._principal_name = ((System.Windows.Controls.TextBox)(target)); return; case 20: this._phone = ((System.Windows.Controls.TextBox)(target)); return; case 21: this._contact_number = ((System.Windows.Controls.TextBox)(target)); return; case 22: this._address = ((System.Windows.Controls.TextBox)(target)); return; case 23: this._note = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.txtMsg = ((System.Windows.Controls.TextBlock)(target)); return; case 25: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 162 "..\..\..\Manager\SysDeptManager.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 26: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 163 "..\..\..\Manager\SysDeptManager.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Clear_Click); #line default #line hidden return; } this._contentLoaded = true; }