void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.spCharge = ((MyWpfControl.StatusBorder)(target));
                return;

            case 2:

            #line 24 "..\..\DlgManualCharge.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnON_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 25 "..\..\DlgManualCharge.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnOFF_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\PageOperator.xaml"
                ((cpMgr.PageOperator)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\PageOperator.xaml"
                ((cpMgr.PageOperator)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cvsMain = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 4:
                this.spRFID = ((MyWpfControl.ImageBorder)(target));

            #line 19 "..\..\PageOperator.xaml"
                this.spRFID.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spRFID_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.spCST = ((MyWpfControl.ImageBorder)(target));

            #line 25 "..\..\PageOperator.xaml"
                this.spCST.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spCST_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.spShuttle = ((MyWpfControl.StatusBorder)(target));
                return;

            case 7:
                this.spChargeBar = ((MyWpfControl.StatusBorder)(target));

            #line 39 "..\..\PageOperator.xaml"
                this.spChargeBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spCST_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.spCharger = ((MyWpfControl.StatusBorder)(target));

            #line 52 "..\..\PageOperator.xaml"
                this.spCharger.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spCharger_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.chkAbnormal = ((MyWpfControl.StatusBorder)(target));
                return;

            case 10:
                this.chkEmsStatus = ((MyWpfControl.StatusBorder)(target));
                return;

            case 11:
                this.chkAutoStatus = ((MyWpfControl.StatusBorder)(target));
                return;

            case 12:
                this.chkOperModeStatus = ((MyWpfControl.StatusBorder)(target));
                return;

            case 13:
                this.chkLightCurtain1 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 14:
                this.btnModeChange = ((MyWpfControl.StatusButton)(target));

            #line 115 "..\..\PageOperator.xaml"
                this.btnModeChange.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnModeChange_MouseDown);

            #line default
            #line hidden

            #line 115 "..\..\PageOperator.xaml"
                this.btnModeChange.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnModeChange_MouseUp);

            #line default
            #line hidden
                return;

            case 15:
                this.btnFWD = ((MyWpfControl.StatusButton)(target));

            #line 122 "..\..\PageOperator.xaml"
                this.btnFWD.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnFWD_MouseDown);

            #line default
            #line hidden

            #line 122 "..\..\PageOperator.xaml"
                this.btnFWD.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnFWD_MouseUp);

            #line default
            #line hidden
                return;

            case 16:
                this.btnBWD = ((MyWpfControl.StatusButton)(target));

            #line 128 "..\..\PageOperator.xaml"
                this.btnBWD.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnBWD_MouseDown);

            #line default
            #line hidden

            #line 128 "..\..\PageOperator.xaml"
                this.btnBWD.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.btnBWD_MouseUp);

            #line default
            #line hidden
                return;

            case 17:
                this.btnLightOn = ((MyWpfControl.StatusButton)(target));

            #line 135 "..\..\PageOperator.xaml"
                this.btnLightOn.Click += new System.Windows.RoutedEventHandler(this.btnLightOn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.spPort1 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 2:
                this.spPort2 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 3:
                this.spPort3 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 4:
                this.spPort4 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 5:
                this.spPort5 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 6:
                this.spPort6 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 7:
                this.spPort7 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 8:
                this.spPort8 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 9:
                this.spPort9 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 10:
                this.spPort10 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 11:
                this.spPort11 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 12:
                this.spPort12 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 13:
                this.spPort13 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 14:
                this.spPort14 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 15:
                this.spPort15 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 16:
                this.spPort16 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 17:
                this.spPort17 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 18:
                this.spPort18 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 19:
                this.spStk1 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 20:
                this.spStk2 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 21:
                this.spStk3 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 22:
                this.spStk4 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 23:
                this.spStk5 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 24:
                this.spStk6 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 25:
                this.spStk7 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 26:
                this.spStk8 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 27:
                this.spStk9 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 28:
                this.spStk10 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 29:
                this.spStk11 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 30:
                this.spStk12 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 31:
                this.spStk13 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 32:
                this.spStk14 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 33:
                this.spStk15 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 34:
                this.spStk16 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 35:
                this.spStk17 = ((MyWpfControl.StatusBorder)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\Window\PagePioInterface.xaml"
                ((cpMgr.PagePioInterface)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\Window\PagePioInterface.xaml"
                ((cpMgr.PagePioInterface)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.spLdReq = ((MyWpfControl.StatusBorder)(target));
                return;

            case 4:
                this.spUldReq = ((MyWpfControl.StatusBorder)(target));
                return;

            case 5:
                this.spReady = ((MyWpfControl.StatusBorder)(target));
                return;

            case 6:
                this.spAbnormal1 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 7:
                this.spCstContain1 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 8:
                this.spForkDetect = ((MyWpfControl.StatusBorder)(target));
                return;

            case 9:
                this.spStkHotLine = ((MyWpfControl.StatusBorder)(target));
                return;

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

            case 11:
                this.spTrRequest = ((MyWpfControl.StatusBorder)(target));
                return;

            case 12:
                this.spCstContain2 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 13:
                this.spBusy = ((MyWpfControl.StatusBorder)(target));
                return;

            case 14:
                this.spComplete = ((MyWpfControl.StatusBorder)(target));
                return;

            case 15:
                this.spAbnormal2 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 16:

            #line 120 "..\..\..\Window\PagePioInterface.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnPioViewAll_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cvsMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.btnFloatOn = ((MyWpfControl.StatusButton)(target));

            #line 12 "..\..\..\Window\DlgManualNormal.xaml"
                this.btnFloatOn.Click += new System.Windows.RoutedEventHandler(this.btnFloatOn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnFloatOff = ((MyWpfControl.StatusButton)(target));

            #line 18 "..\..\..\Window\DlgManualNormal.xaml"
                this.btnFloatOff.Click += new System.Windows.RoutedEventHandler(this.btnFloatOff_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnCenterOn = ((MyWpfControl.StatusButton)(target));

            #line 25 "..\..\..\Window\DlgManualNormal.xaml"
                this.btnCenterOn.Click += new System.Windows.RoutedEventHandler(this.btnCenterOn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnCenterOff = ((MyWpfControl.StatusButton)(target));

            #line 31 "..\..\..\Window\DlgManualNormal.xaml"
                this.btnCenterOff.Click += new System.Windows.RoutedEventHandler(this.btnCenterOff_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnChargeBarUp = ((MyWpfControl.StatusButton)(target));

            #line 38 "..\..\..\Window\DlgManualNormal.xaml"
                this.btnChargeBarUp.Click += new System.Windows.RoutedEventHandler(this.btnChargeBarUp_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnChargeBarDown = ((MyWpfControl.StatusButton)(target));

            #line 44 "..\..\..\Window\DlgManualNormal.xaml"
                this.btnChargeBarDown.Click += new System.Windows.RoutedEventHandler(this.btnChargeBarDown_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.spLamp1 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 9:
                this.spLamp2 = ((MyWpfControl.StatusBorder)(target));
                return;

            case 10:
                this.spLamp3 = ((MyWpfControl.StatusBorder)(target));
                return;
            }
            this._contentLoaded = true;
        }