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

            #line 11 "..\..\..\..\..\Memory\UI\WinMemory.xaml"
                ((SetPar.WinMemory)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.dudMax = ((ControlLib.DoubleUpDown)(target));
                return;

            case 4:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 36 "..\..\..\..\..\Memory\UI\WinMemory.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.tsbRecordMemory = ((ControlLib.MTSwitchButton)(target));
                return;

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

            case 8:
                this.tsbGCCollect = ((ControlLib.MTSwitchButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\SetCamera\WinSetCamera.xaml"
                ((Camera.WinSetCamera)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseMetroWindow_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\SetCamera\WinSetCamera.xaml"
                ((Camera.WinSetCamera)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.BaseMetroWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.setCamera1 = ((Camera.SetCamera)(target));
                return;

            case 3:
                this.setCamera2 = ((Camera.SetCamera)(target));
                return;

            case 4:
                this.setCamera3 = ((Camera.SetCamera)(target));
                return;

            case 5:
                this.setCamera4 = ((Camera.SetCamera)(target));
                return;

            case 6:
                this.setCamera5 = ((Camera.SetCamera)(target));
                return;

            case 7:
                this.setCamera6 = ((Camera.SetCamera)(target));
                return;

            case 8:
                this.setCamera7 = ((Camera.SetCamera)(target));
                return;

            case 9:
                this.setCamera8 = ((Camera.SetCamera)(target));
                return;

            case 10:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.dudNumCamera = ((ControlLib.DoubleUpDown)(target));

            #line 91 "..\..\..\SetCamera\WinSetCamera.xaml"
                this.dudNumCamera.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumCamera_ValueChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.btnClose = ((ControlLib.ButtonBase)(target));

            #line 93 "..\..\..\SetCamera\WinSetCamera.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.grid3 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 15:
                this.tsbSoftTrrigger = ((ControlLib.MTSwitchButton)(target));

            #line 100 "..\..\..\SetCamera\WinSetCamera.xaml"
                this.tsbSoftTrrigger.Checked += new System.Windows.RoutedEventHandler(this.tsbSoftTrrigger_Checked);

            #line default
            #line hidden

            #line 100 "..\..\..\SetCamera\WinSetCamera.xaml"
                this.tsbSoftTrrigger.Unchecked += new System.Windows.RoutedEventHandler(this.tsbSoftTrrigger_Unchecked);

            #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 "..\..\..\..\..\..\HardDisk\Monitor\UI\WinHardDisk.xaml"
                ((SetPar.WinHardDisk)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseMetroWindow_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 38 "..\..\..\..\..\..\HardDisk\Monitor\UI\WinHardDisk.xaml"
                this.cboDriver.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboDriver_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.dudMinSpace = ((ControlLib.DoubleUpDown)(target));
                return;

            case 8:
                this.grid3 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 11:
                this.grid4 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 14:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 64 "..\..\..\..\..\..\HardDisk\Monitor\UI\WinHardDisk.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_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 9 "..\..\..\..\Manual\UCTechRobot.xaml"
                ((DealRobot.UCTechRobot)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btnCurrPos = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnCurrPos.Click += new System.Windows.RoutedEventHandler(this.btnCurrPos_Click);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.txtZ = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtU = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 8:
                this.btnSetPowerOn = ((ControlLib.ButtonColor)(target));

            #line 45 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnSetPowerOn.Click += new System.Windows.RoutedEventHandler(this.btnSetPowerOn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnSetPowerOff = ((ControlLib.ButtonColor)(target));

            #line 46 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnSetPowerOff.Click += new System.Windows.RoutedEventHandler(this.btnSetPowerOff_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.gdCtr = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.btnDecX = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnDecX.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnAddX = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnAddX.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnDecY = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnDecY.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnAddY.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnDecU.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnAddU = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnAddU.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnDecZ = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnDecZ.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnAddZ = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\..\Manual\UCTechRobot.xaml"
                this.btnAddZ.Click += new System.Windows.RoutedEventHandler(this.btnJogRobot_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.dudStepMove = ((ControlLib.DoubleUpDown)(target));
                return;

            case 20:
                this.dudStepAngle = ((ControlLib.DoubleUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.adjust4 = ((DealConfigFile.Adjust3)(target));
                return;

            case 2:
                this.gpbAdjust = ((ControlLib.NGroupBox)(target));

            #line 23 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.gpbAdjust.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.gpbAdjust_MouseRightButtonUp);

            #line default
            #line hidden
                return;

            case 3:
                this.gdLayout = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.dudAdjust1 = ((ControlLib.DoubleUpDown)(target));

            #line 37 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.dudAdjust1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudAdjust1_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.dudAdjust2 = ((ControlLib.DoubleUpDown)(target));

            #line 39 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.dudAdjust2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudAdjust2_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 9:
                this.dudAdjust3 = ((ControlLib.DoubleUpDown)(target));

            #line 41 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.dudAdjust3.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudAdjust3_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 42 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.txtAnnotation = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdLayout = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 55 "..\..\..\..\..\SetPLC\UI\UCSetTypePLC.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.tsbReadCyc = ((ControlLib.MTSwitchButton)(target));
                return;

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

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

            case 7:
                this.dudDelay = ((ControlLib.DoubleUpDown)(target));
                return;

            case 8:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 76 "..\..\..\..\..\SetPLC\UI\UCSetTypePLC.xaml"
                this.cboPLCModel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboPLCModel_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.dudNoStation = ((ControlLib.DoubleUpDown)(target));
                return;

            case 13:
                this.grid3 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 15:
                this.cboPLCProtocol = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 17:
                this.tsbSingleTaskCamera = ((ControlLib.MTSwitchButton)(target));
                return;

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

            case 19:
                this.grid5 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 21:
                this.tsbAnnotherPLC = ((ControlLib.MTSwitchButton)(target));
                return;

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

            case 23:
                this.tsbRecordLog = ((ControlLib.MTSwitchButton)(target));
                return;

            case 24:
                this.gdIPPort = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 26:
                this.txtIP = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 28:
                this.dudPort = ((ControlLib.DoubleUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gpRun = ((ControlLib.NGroupBox)(target));
                return;

            case 2:
                this.btnSingle = ((ControlLib.ButtonColor)(target));

            #line 39 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.btnSingle.Click += new System.Windows.RoutedEventHandler(this.btnSingle_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnRepeat = ((ControlLib.ButtonColor)(target));

            #line 40 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.btnRepeat.Click += new System.Windows.RoutedEventHandler(this.btnRepeat_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.dudInterval = ((ControlLib.DoubleUpDown)(target));

            #line 42 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.dudInterval.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudInterval_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.chkNGStop = ((System.Windows.Controls.CheckBox)(target));

            #line 45 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.chkNGStop.Checked += new System.Windows.RoutedEventHandler(this.chkNGStop_Checked);

            #line default
            #line hidden

            #line 45 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.chkNGStop.Unchecked += new System.Windows.RoutedEventHandler(this.chkNGStop_Unchecked);

            #line default
            #line hidden
                return;

            case 9:
                this.chkOKStop = ((System.Windows.Controls.CheckBox)(target));

            #line 46 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.chkOKStop.Checked += new System.Windows.RoutedEventHandler(this.chkOKStop_Checked);

            #line default
            #line hidden

            #line 46 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.chkOKStop.Unchecked += new System.Windows.RoutedEventHandler(this.chkOKStop_Unchecked);

            #line default
            #line hidden
                return;

            case 10:
                this.chkAutoNextLocal = ((System.Windows.Controls.CheckBox)(target));

            #line 47 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.chkAutoNextLocal.Checked += new System.Windows.RoutedEventHandler(this.chkAutoNextLocal_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.chkAutoPreLocal = ((System.Windows.Controls.CheckBox)(target));

            #line 48 "..\..\..\..\..\MainWindow\Manual\BaseUCTrrigerComprehensive.xaml"
                this.chkAutoPreLocal.Checked += new System.Windows.RoutedEventHandler(this.chkAutoPreLocal_Checked);

            #line default
            #line hidden
                return;

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

            case 13:
                this.dudNoPos = ((ControlLib.DoubleUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.regBaseCtr = ((DealPLC.BaseUCReg)(target));
                return;

            case 2:
                this.gpbReg = ((ControlLib.NGroupBox)(target));
                return;

            case 3:
                this.dgReg = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 65 "..\..\..\..\..\..\SetPLC\RegPLC\Base\BaseUCReg.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnRegCreate = ((ControlLib.ButtonColor)(target));

            #line 66 "..\..\..\..\..\..\SetPLC\RegPLC\Base\BaseUCReg.xaml"
                this.btnRegCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.txtRegStart = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.chkClearCoAnno = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 11:
                this.dudNumReg = ((ControlLib.DoubleUpDown)(target));

            #line 71 "..\..\..\..\..\..\SetPLC\RegPLC\Base\BaseUCReg.xaml"
                this.dudNumReg.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumReg_ValueChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.btnInputExcel = ((ControlLib.ButtonColor)(target));

            #line 72 "..\..\..\..\..\..\SetPLC\RegPLC\Base\BaseUCReg.xaml"
                this.btnInputExcel.Click += new System.Windows.RoutedEventHandler(this.btnInputExcel_Click);

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

            #line 35 "..\..\..\..\Manual\UCRobotIO.xaml"
                this.dudNumInput.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumInput_ValueChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.dudNumOutput = ((ControlLib.DoubleUpDown)(target));

            #line 37 "..\..\..\..\Manual\UCRobotIO.xaml"
                this.dudNumOutput.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumOutput_ValueChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.dgIn = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.doubleUpDown1 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 5:
                this.btnReadIn = ((ControlLib.ButtonColor)(target));

            #line 60 "..\..\..\..\Manual\UCRobotIO.xaml"
                this.btnReadIn.Click += new System.Windows.RoutedEventHandler(this.btnReadIn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.dgOut = ((System.Windows.Controls.DataGrid)(target));

            #line 74 "..\..\..\..\Manual\UCRobotIO.xaml"
                this.dgOut.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgOut_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 7:
                this.dudComboValue = ((ControlLib.DoubleUpDown)(target));
                return;

            case 8:
                this.btnWriteComboOut = ((ControlLib.ButtonColor)(target));

            #line 83 "..\..\..\..\Manual\UCRobotIO.xaml"
                this.btnWriteComboOut.Click += new System.Windows.RoutedEventHandler(this.btnWriteComboOut_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 86 "..\..\..\..\Manual\UCRobotIO.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

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

            #line 5 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                ((Main.WinParInsp)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 5 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                ((Main.WinParInsp)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.RdbSide1 = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.RdbSide1.Checked += new System.Windows.RoutedEventHandler(this.RdbSide1_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.RdbSide2 = ((System.Windows.Controls.RadioButton)(target));

            #line 28 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.RdbSide2.Checked += new System.Windows.RoutedEventHandler(this.RdbSide2_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.DudThShellY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 5:
                this.DudThShellX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 6:
                this.DudThCornerY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 7:
                this.DudThCornerX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 8:
                this.DudThPreiectionY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 9:
                this.DudThPreiectionX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 10:
                this.DudThITO = ((ControlLib.DoubleUpDown)(target));
                return;

            case 11:
                this.DudDblOutRate = ((ControlLib.DoubleUpDown)(target));
                return;

            case 12:
                this.DudSmooth = ((ControlLib.DoubleUpDown)(target));
                return;

            case 13:
                this.DudSmooth_Copy = ((ControlLib.DoubleUpDown)(target));
                return;

            case 14:
                this.DudNumCornerStart = ((ControlLib.DoubleUpDown)(target));
                return;

            case 15:
                this.DudNumCornerEnd = ((ControlLib.DoubleUpDown)(target));
                return;

            case 16:
                this.CbxIgnoreSide1Fault = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.CbxIsCFSide = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.TxtSideMatch = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.TxtSideMatch.LostFocus += new System.Windows.RoutedEventHandler(this.TextBox_LostFocus);

            #line default
            #line hidden
                return;

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

            case 20:
                this.CbxIgnoreMark = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.DudThresholdGlass = ((ControlLib.DoubleUpDown)(target));
                return;

            case 22:
                this.DudNumRect = ((ControlLib.DoubleUpDown)(target));
                return;

            case 23:
                this.DudRatioDelete = ((ControlLib.DoubleUpDown)(target));
                return;

            case 24:
                this.DudThresholdEdge = ((ControlLib.DoubleUpDown)(target));
                return;

            case 25:
                this.DudAmp = ((ControlLib.DoubleUpDown)(target));
                return;

            case 26:
                this.DudThRectangleularity = ((ControlLib.DoubleUpDown)(target));
                return;

            case 27:
                this.BtnSave = ((System.Windows.Controls.Button)(target));

            #line 122 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.BtnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click);

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

            #line 5 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                ((Main.WinParInsp)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 5 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                ((Main.WinParInsp)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.RdbSide1 = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.RdbSide1.Checked += new System.Windows.RoutedEventHandler(this.RdbSide1_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.RdbSide2 = ((System.Windows.Controls.RadioButton)(target));

            #line 28 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.RdbSide2.Checked += new System.Windows.RoutedEventHandler(this.RdbSide2_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.DudThShellY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 5:
                this.DudThShellX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 6:
                this.DudThCornerY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 7:
                this.DudThCornerX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 8:
                this.cbUseOr = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.cbCrackEnabled = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.DudThPreiectionY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 11:
                this.DudThPreiectionX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 12:
                this.DudThConvexY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 13:
                this.DudThConvexX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 14:
                this.DudCrackY = ((ControlLib.DoubleUpDown)(target));
                return;

            case 15:
                this.DudCrackX = ((ControlLib.DoubleUpDown)(target));
                return;

            case 16:
                this.DudThITO = ((ControlLib.DoubleUpDown)(target));
                return;

            case 17:
                this.DudDblOutRate = ((ControlLib.DoubleUpDown)(target));
                return;

            case 18:
                this.DudSmooth = ((ControlLib.DoubleUpDown)(target));
                return;

            case 19:
                this.DudSmooth_Copy = ((ControlLib.DoubleUpDown)(target));
                return;

            case 20:
                this.DudNumCornerStart = ((ControlLib.DoubleUpDown)(target));
                return;

            case 21:
                this.DudNumCornerEnd = ((ControlLib.DoubleUpDown)(target));
                return;

            case 22:
                this.CbxIgnoreSide1Fault = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.TxtSideMatch = ((System.Windows.Controls.TextBox)(target));

            #line 105 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.TxtSideMatch.LostFocus += new System.Windows.RoutedEventHandler(this.TextBox_LostFocus);

            #line default
            #line hidden
                return;

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

            case 25:
                this.DudThresholdGlass = ((ControlLib.DoubleUpDown)(target));
                return;

            case 26:
                this.DudNumRect = ((ControlLib.DoubleUpDown)(target));
                return;

            case 27:
                this.DudRatioDelete = ((ControlLib.DoubleUpDown)(target));
                return;

            case 28:
                this.DudThresholdEdge = ((ControlLib.DoubleUpDown)(target));
                return;

            case 29:
                this.DudAmp = ((ControlLib.DoubleUpDown)(target));
                return;

            case 30:
                this.DudThRectangleularity = ((ControlLib.DoubleUpDown)(target));
                return;

            case 31:
                this.DudSplStartIndex1 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 32:
                this.DudSplEndIndex1 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 33:
                this.DudSplStartIndex2 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 34:
                this.DudSplEndIndex2 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 35:
                this.DudSplStartIndex3 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 36:
                this.DudSplEndIndex3 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 37:
                this.DudSplStartIndex4 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 38:
                this.DudSplEndIndex4 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 39:
                this.DudSplStartIndex5 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 40:
                this.DudSplEndIndex5 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 41:
                this.DudSplStartIndex6 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 42:
                this.DudSplEndIndex6 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 43:
                this.DudSplStartIndex7 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 44:
                this.DudSplEndIndex7 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 45:
                this.DudSplStartIndex8 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 46:
                this.DudSplEndIndex8 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 47:
                this.DudSplStartIndex9 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 48:
                this.DudSplEndIndex9 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 49:
                this.DudSplThShellY1 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 50:
                this.DudSplThShellX1 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 51:
                this.DudSplThShellY2 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 52:
                this.DudSplThShellX2 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 53:
                this.DudSplThShellY3 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 54:
                this.DudSplThShellX3 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 55:
                this.DudSplThShellY4 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 56:
                this.DudSplThShellX4 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 57:
                this.DudSplThShellY5 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 58:
                this.DudSplThShellX5 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 59:
                this.DudSplThShellY6 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 60:
                this.DudSplThShellX6 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 61:
                this.DudSplThShellY7 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 62:
                this.DudSplThShellX7 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 63:
                this.DudSplThShellY8 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 64:
                this.DudSplThShellX8 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 65:
                this.DudSplThShellY9 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 66:
                this.DudSplThShellX9 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 67:
                this.DudSplThPerY9 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 68:
                this.DudSplThPerY8 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 69:
                this.DudSplThPerY7 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 70:
                this.DudSplThPerY6 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 71:
                this.DudSplThPerY5 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 72:
                this.DudSplThPerY4 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 73:
                this.DudSplThPerY3 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 74:
                this.DudSplThPerY2 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 75:
                this.DudSplThPerY1 = ((ControlLib.DoubleUpDown)(target));
                return;

            case 76:
                this.BtnSave = ((System.Windows.Controls.Button)(target));

            #line 267 "..\..\..\..\..\EdgeInspection\UI\UIParInsp\WinParInsp.xaml"
                this.BtnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click);

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

            #line 11 "..\..\..\..\SetCamera\WinSetCamera.xaml"
                ((Camera.WinSetCamera)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseMetroWindow_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\SetCamera\WinSetCamera.xaml"
                ((Camera.WinSetCamera)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.BaseMetroWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.setCamera1 = ((Camera.SetCamera)(target));
                return;

            case 3:
                this.setCamera2 = ((Camera.SetCamera)(target));
                return;

            case 4:
                this.setCamera3 = ((Camera.SetCamera)(target));
                return;

            case 5:
                this.setCamera4 = ((Camera.SetCamera)(target));
                return;

            case 6:
                this.setCamera5 = ((Camera.SetCamera)(target));
                return;

            case 7:
                this.setCamera6 = ((Camera.SetCamera)(target));
                return;

            case 8:
                this.setCamera7 = ((Camera.SetCamera)(target));
                return;

            case 9:
                this.setCamera8 = ((Camera.SetCamera)(target));
                return;

            case 10:
                this.dudNumCamera = ((ControlLib.DoubleUpDown)(target));

            #line 84 "..\..\..\..\SetCamera\WinSetCamera.xaml"
                this.dudNumCamera.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudNumCamera_ValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.btnClose = ((ControlLib.ButtonColor)(target));

            #line 86 "..\..\..\..\SetCamera\WinSetCamera.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

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