Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWD = ((SHIV_PhongCachAm.MainWindow)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.mainWD.Closing += new System.ComponentModel.CancelEventHandler(this.mainWD_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 175 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EventF1Push_Process);

            #line default
            #line hidden
                return;

            case 3:

            #line 176 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EventF8Push_Process);

            #line default
            #line hidden
                return;

            case 4:

            #line 177 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EventF10Push_Process);

            #line default
            #line hidden
                return;

            case 5:

            #line 178 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EventSPush_Process);

            #line default
            #line hidden
                return;

            case 6:

            #line 179 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EventOPush_Process);

            #line default
            #line hidden
                return;

            case 7:
                this.lblTimerCycle = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lblStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lblDatetime = ((System.Windows.Controls.Label)(target));

            #line 213 "..\..\..\MainWindow.xaml"
                this.lblDatetime.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblDatetime_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.lblLanguage = ((System.Windows.Controls.Label)(target));

            #line 215 "..\..\..\MainWindow.xaml"
                this.lblLanguage.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblLanguage_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 11:
                this.lblNguoiVanhanh = ((System.Windows.Controls.Label)(target));

            #line 250 "..\..\..\MainWindow.xaml"
                this.lblNguoiVanhanh.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblNguoiVanhanh_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 12:
                this.lblPID = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblMaOrder = ((System.Windows.Controls.Label)(target));

            #line 272 "..\..\..\MainWindow.xaml"
                this.lblMaOrder.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblMaOrder_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.chk1PhaOrder = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.lblMotaSanpham = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lblSTTSanpham = ((System.Windows.Controls.Label)(target));

            #line 295 "..\..\..\MainWindow.xaml"
                this.lblSTTSanpham.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.lblSTTSanpham_DataContextChanged);

            #line default
            #line hidden

            #line 296 "..\..\..\MainWindow.xaml"
                this.lblSTTSanpham.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSTTSanpham_MouseDown);

            #line default
            #line hidden
                return;

            case 17:
                this.lblGiamtoc = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lblDienapChuan = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lblDienapThucte = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblTansoChuan = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lblTansoThucte = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.lblTcVongquay = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.lblVongquayFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lblVongquayBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lblVongquayLech = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lblOKVongquay = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.lblNGVongquay = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lblHuongquayMax = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.lblOKXuatluc = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.lblNGXuatluc = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.lblTcDongdien = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lblDongdienFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.lblDongdienBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.lblDongdienLech = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.lblOKDongdien = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.lblNGDongdien = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.lblTCNhapluc = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.lblNhaplucFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.lblNhaplucBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.lblNhaplucLech = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.lblOKNhapluc = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.lblNGNhapluc = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.lblTcDorung = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.lblDorungFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.lblDorungBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.lblDorungLech = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.lblOKDorung = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.lblNGDorung = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.lblTcTiengon = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.lblTiengonFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.lblTiengonBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.lblTiengonLech = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.lblOKTiengon = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.lblNGTiengon = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.lblAmsacThuan = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.lblAmsacNghich = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.lblOKAmsac = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.lblNGAmsac = ((System.Windows.Controls.Label)(target));
                return;

            case 59:
                this.LineChart1 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 60:
                this.LineChartChild = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 61:
                this.valueSettingYRange = ((System.Windows.Controls.DataVisualization.Charting.LinearAxis)(target));
                return;

            case 62:
                this.LineChartChild_TempTiengon = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 63:
                this.LineChartMax = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 64:
                this.btnF1 = ((System.Windows.Controls.Label)(target));

            #line 660 "..\..\..\MainWindow.xaml"
                this.btnF1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnF1_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 65:
                this.btnF3 = ((System.Windows.Controls.Label)(target));

            #line 663 "..\..\..\MainWindow.xaml"
                this.btnF3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnF3_MouseDown);

            #line default
            #line hidden
                return;

            case 66:

            #line 666 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.EventF10Push_Process_Mouse);

            #line default
            #line hidden
                return;

            case 67:

            #line 669 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LabelF9_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 68:

            #line 672 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.EventF8Push_Process);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWD = ((SHIV_PhongCachAm.MainWindow)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.mainWD.Closing += new System.ComponentModel.CancelEventHandler(this.mainWD_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.lblDatetime = ((System.Windows.Controls.Label)(target));

            #line 139 "..\..\MainWindow.xaml"
                this.lblDatetime.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblDatetime_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.lblLanguage = ((System.Windows.Controls.Label)(target));

            #line 142 "..\..\MainWindow.xaml"
                this.lblLanguage.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblLanguage_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.lblPID = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblMaOrder = ((System.Windows.Controls.Label)(target));

            #line 200 "..\..\MainWindow.xaml"
                this.lblMaOrder.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblMaOrder_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.lblMotaSanpham = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.lblSTTSanpham = ((System.Windows.Controls.Label)(target));

            #line 222 "..\..\MainWindow.xaml"
                this.lblSTTSanpham.DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.lblSTTSanpham_DataContextChanged);

            #line default
            #line hidden

            #line 223 "..\..\MainWindow.xaml"
                this.lblSTTSanpham.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblSTTSanpham_MouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.lblGiamtoc = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lblDienapChuan = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lblTansoChuan = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lblTcVongquay = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lblVongquayFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lblVongquayBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblVongquayLech = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lblOKVongquay = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lblNGVongquay = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.lblHuongquayMax = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.lblOKXuatluc = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.lblNGXuatluc = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.lblTcDongdien = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lblDongdienFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.lblDongdienBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.lblDongdienLech = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lblOKDongdien = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lblNGDongdien = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lblTCNhapluc = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.lblNhaplucFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lblNhaplucBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.lblNhaplucLech = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.lblOKNhapluc = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.lblNGNhapluc = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.lblTcDorung = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.lblDorungFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.lblDorungBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.lblDorungLech = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.lblOKDorung = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.lblNGDorung = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.lblTcTiengon = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.lblTiengonFwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.lblTiengonBwdMax = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.lblTiengonLech = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.lblOKTiengon = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.lblNGTiengon = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.lblAmsacThuan = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.lblAmsacNghich = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.lblOKAmsac = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.lblNGAmsac = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.LineChart1 = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 49:
                this.LineChartChild = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;

            case 50:
                this.btnF1 = ((System.Windows.Controls.Label)(target));

            #line 553 "..\..\MainWindow.xaml"
                this.btnF1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnF1_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 51:
                this.btnF3 = ((System.Windows.Controls.Label)(target));

            #line 556 "..\..\MainWindow.xaml"
                this.btnF3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnF3_MouseDown);

            #line default
            #line hidden
                return;

            case 52:

            #line 562 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LabelF9_PreviewMouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }