Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 38 "..\..\PageControl.xaml"
                this.btnLockOff.Click += new System.Windows.RoutedEventHandler(this.btnLockOff_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\PageControl.xaml"
                this.btnLockOn.Click += new System.Windows.RoutedEventHandler(this.btnLockOn_Click);

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

            case 2:
                this.listView1 = ((System.Windows.Controls.ListView)(target));
                return;

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

            #line 37 "..\..\DlgMaintrance.xaml"
                this.btnLight.Click += new System.Windows.RoutedEventHandler(this.btnLight_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\DlgMaintrance.xaml"
                this.btnBuzzer.Click += new System.Windows.RoutedEventHandler(this.btnBuzzer_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\DlgMaintrance.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.btnReset_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 40 "..\..\DlgMaintrance.xaml"
                ((MyWpfControl.StatusButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

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

            #line 10 "..\..\MainWindow.xaml"
                ((cpMgr.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((cpMgr.MainWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered);

            #line default
            #line hidden
                return;

            case 2:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

            case 7:
                this.btnMain = ((MyWpfControl.ImageButton)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.btnMain.Click += new System.Windows.RoutedEventHandler(this.btnMain_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnAdmin = ((MyWpfControl.ImageButton)(target));

            #line 36 "..\..\MainWindow.xaml"
                this.btnAdmin.Click += new System.Windows.RoutedEventHandler(this.btnAdmin_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnBuzzer = ((MyWpfControl.ImageButton)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.btnBuzzer.Click += new System.Windows.RoutedEventHandler(this.btnBuzzer_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnAlarm = ((MyWpfControl.ImageButton)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.btnAlarm.Click += new System.Windows.RoutedEventHandler(this.btnAlarm_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnExit = ((MyWpfControl.ImageButton)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.rbOperator = ((System.Windows.Controls.RadioButton)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.rbOperator.Checked += new System.Windows.RoutedEventHandler(this.btnOperator_Checked);

            #line default
            #line hidden
                return;

            case 13:
                this.rbControl = ((System.Windows.Controls.RadioButton)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.rbControl.Checked += new System.Windows.RoutedEventHandler(this.btnControl_Checked);

            #line default
            #line hidden
                return;

            case 14:
                this.rbMonitor = ((System.Windows.Controls.RadioButton)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.rbMonitor.Checked += new System.Windows.RoutedEventHandler(this.btnMonitor_Checked);

            #line default
            #line hidden
                return;

            case 15:
                this.rbLog = ((System.Windows.Controls.RadioButton)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.rbLog.Checked += new System.Windows.RoutedEventHandler(this.btnLog_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.rbSetting = ((System.Windows.Controls.RadioButton)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.rbSetting.Checked += new System.Windows.RoutedEventHandler(this.btnSetting_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.frame1 = ((System.Windows.Controls.Frame)(target));
                return;

            case 18:
                this.pnlBottom = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.chkAutoMode = ((MyWpfControl.StatusButton)(target));

            #line 87 "..\..\MainWindow.xaml"
                this.chkAutoMode.Click += new System.Windows.RoutedEventHandler(this.chkAutoMode_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.chkManualMode = ((MyWpfControl.StatusButton)(target));

            #line 93 "..\..\MainWindow.xaml"
                this.chkManualMode.Click += new System.Windows.RoutedEventHandler(this.chkManualMode_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.chkStart = ((MyWpfControl.StatusButton)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.chkStart.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.chkStart_MouseDown);

            #line default
            #line hidden

            #line 99 "..\..\MainWindow.xaml"
                this.chkStart.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.chkStart_MouseUp);

            #line default
            #line hidden
                return;

            case 22:
                this.chkCycleStop = ((MyWpfControl.StatusButton)(target));

            #line 105 "..\..\MainWindow.xaml"
                this.chkCycleStop.Click += new System.Windows.RoutedEventHandler(this.chkCycleStop_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.chkReset = ((MyWpfControl.StatusButton)(target));

            #line 111 "..\..\MainWindow.xaml"
                this.chkReset.Click += new System.Windows.RoutedEventHandler(this.chkReset_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.chkBuzzerStop = ((MyWpfControl.StatusButton)(target));

            #line 117 "..\..\MainWindow.xaml"
                this.chkBuzzerStop.Click += new System.Windows.RoutedEventHandler(this.chkBuzzerStop_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.chkDoorClose = ((MyWpfControl.StatusButton)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.chkDoorClose.Click += new System.Windows.RoutedEventHandler(this.chkDoorClose_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
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;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtCstID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.txtCountOK = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:

            #line 16 "..\..\DlgAutoBCR.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRestOK_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.txtCountNG = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:

            #line 19 "..\..\DlgAutoBCR.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnResetNG_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 20 "..\..\DlgAutoBCR.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnTriger_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\DlgAutoBCR.xaml"
                this.btnKeyIn.Click += new System.Windows.RoutedEventHandler(this.btnKeyIn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnSkip = ((MyWpfControl.StatusButton)(target));

            #line 28 "..\..\DlgAutoBCR.xaml"
                this.btnSkip.Click += new System.Windows.RoutedEventHandler(this.btnSkip_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
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;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\Window\DlgBcrReadFail.xaml"
                ((cpMgr.DlgBcrReadFail)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 10 "..\..\..\Window\DlgBcrReadFail.xaml"
                ((cpMgr.DlgBcrReadFail)(target)).IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Window_IsVisibleChanged);

            #line default
            #line hidden

            #line 10 "..\..\..\Window\DlgBcrReadFail.xaml"
                ((cpMgr.DlgBcrReadFail)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.txtBCR1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 16 "..\..\..\Window\DlgBcrReadFail.xaml"
                this.btnKeyIn.Click += new System.Windows.RoutedEventHandler(this.btnKeyIn_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\Window\DlgBcrReadFail.xaml"
                this.btnComplete.Click += new System.Windows.RoutedEventHandler(this.btnComplete_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 28 "..\..\..\Window\DlgBcrReadFail.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

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