Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.reportDate_kssj = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 2:
                this.reportDate_jssj = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 3:
                this._detect_dept = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this._detect_item = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this._detect_object = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 58 "..\..\..\Manager\SysWarningInfo.xaml"
                this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Manager\SysWarningInfo.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

            case 8:
                this._title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.grid_info = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableOperableView_NoTitle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.reportDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 2:
                this._detect_dept = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this._detect_item = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this._detect_result = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 31 "..\..\..\Manager\SysDayReport.xaml"
                this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\Manager\SysDayReport.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

            case 7:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dtpStartDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 2:
                this.dtpEndDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 3:
                this.txtUserName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.cmbOperationType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 38 "..\..\..\Manager\SysLogManager.xaml"
                this.btnSelect.Click += new System.Windows.RoutedEventHandler(this.btnSelect_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\Manager\SysLogManager.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lvlist = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._analysis_theme = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.dtpStartDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 3:
                this.dtpEndDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

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

            #line 28 "..\..\..\Manager\SysComparisonAndAnalysis.xaml"
                this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Manager\SysComparisonAndAnalysis.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

            case 6:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableView)(target));
                return;

            case 7:
                this._chart = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 5
0
        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;
        }
Esempio n. 6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.reportDate_kssj = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
     return;
     case 2:
     this.reportDate_jssj = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
     return;
     case 3:
     this._dept_name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this._detect_dept = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this._detect_item = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this._detect_object = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this._detect_result = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this._query = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\..\Manager\SysDesignReport.xaml"
     this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this._export = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\Manager\SysDesignReport.xaml"
     this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableOperableView)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
        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;
        }
Esempio n. 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dtpStartDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 2:
                this.dtpEndDate = ((FoodSafetyMonitoring.Manager.UserControls.DatePickerControl)(target));
                return;

            case 3:
                this._province1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this._city1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this._region1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this._source_company1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this._detect_station = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this._detect_item1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this._detect_object1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this._detect_method = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this._detect_type = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this._detect_result1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this._detect_person1 = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 58 "..\..\..\Manager\UcDetectInquire.xaml"
                this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Manager\UcDetectInquire.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.grid_table = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableOperableView)(target));
                return;
            }
            this._contentLoaded = true;
        }