Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._year = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this._month = ((System.Windows.Controls.ComboBox)(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_result = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 32 "..\..\..\Manager\SysMonthReport.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 33 "..\..\..\Manager\SysMonthReport.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

            case 8:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableView)(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;
        }