示例#1
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.dgDelFolder = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 4:
                this.tpDel1 = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

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

            case 7:
                this.tpDel2 = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

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

            case 9:
                this.tsbDel2 = ((ControlLib.MTSwitchButton)(target));
                return;

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

            #line 62 "..\..\..\..\..\Folder\DelFolder\SetDelFolder.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
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;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtSerialNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.cboCameraType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 68 "..\..\..\..\SetCamera\SetCamera.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 73 "..\..\..\..\SetCamera\SetCamera.xaml"
                this.btnSoftwore.Click += new System.Windows.RoutedEventHandler(this.btnSoftwore_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#4
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.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.cboRobotType = ((System.Windows.Controls.ComboBox)(target));

            #line 50 "..\..\..\..\ParSetRobot\SetRobot\UCSetTypeRobot.xaml"
                this.cboRobotType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboRobotType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\..\ParSetRobot\SetRobot\UCSetTypeRobot.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tsbAutoConnect = ((ControlLib.MTSwitchButton)(target));
                return;

            case 6:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dpLayout = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 2:
                this.uCStateWork = ((DealLog.UCStateWork)(target));
                return;

            case 3:
                this.uCAlarm = ((DealLog.UCAlarm)(target));
                return;

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

            case 5:
                this.tsbImage = ((ControlLib.MTSwitchButton)(target));

            #line 34 "..\..\..\Log\WinStateAndAlarm.xaml"
                this.tsbImage.Checked += new System.Windows.RoutedEventHandler(this.tsbImage_Checked);

            #line default
            #line hidden

            #line 34 "..\..\..\Log\WinStateAndAlarm.xaml"
                this.tsbImage.Unchecked += new System.Windows.RoutedEventHandler(this.tsbImage_Unchecked);

            #line default
            #line hidden
                return;

            case 6:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#6
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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                ((DealLog.WinStateAndAlarm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dpLayout = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 3:
                this.uCStateWork = ((DealLog.UCStateWork)(target));
                return;

            case 4:
                this.uCAlarm = ((DealLog.UCAlarm)(target));
                return;

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

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

            #line 38 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbMainShow.Checked += new System.Windows.RoutedEventHandler(this.tsbMainShow_Checked);

            #line default
            #line hidden

            #line 38 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbMainShow.Unchecked += new System.Windows.RoutedEventHandler(this.tsbMainShow_Unchecked);

            #line default
            #line hidden
                return;

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

            case 8:
                this.tsbAutoShow = ((ControlLib.MTSwitchButton)(target));

            #line 40 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbAutoShow.Checked += new System.Windows.RoutedEventHandler(this.tsbAutoShow_Checked);

            #line default
            #line hidden

            #line 40 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.tsbAutoShow.Unchecked += new System.Windows.RoutedEventHandler(this.tsbAutoShow_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.chkTopMost.Checked += new System.Windows.RoutedEventHandler(this.chkTopMost_Checked);

            #line default
            #line hidden

            #line 42 "..\..\..\..\..\Log\WinStateAndAlarm\WinStateAndAlarm.xaml"
                this.chkTopMost.Unchecked += new System.Windows.RoutedEventHandler(this.chkTopMost_Unchecked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnSave = ((ControlLib.ButtonBase)(target));

            #line 58 "..\..\..\..\SetCamera\SetCamera.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            case 3:
                this.cboCameraType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

            case 9:
                this.tsbNameCamera = ((ControlLib.MTSwitchButton)(target));

            #line 89 "..\..\..\..\SetCamera\SetCamera.xaml"
                this.tsbNameCamera.Checked += new System.Windows.RoutedEventHandler(this.tsbNameCamera_Checked);

            #line default
            #line hidden

            #line 89 "..\..\..\..\SetCamera\SetCamera.xaml"
                this.tsbNameCamera.Unchecked += new System.Windows.RoutedEventHandler(this.tsbNameCamera_Unchecked);

            #line default
            #line hidden
                return;

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

            case 11:
                this.cboTriggerSource = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 100 "..\..\..\..\SetCamera\SetCamera.xaml"
                this.btnSoftwore.Click += new System.Windows.RoutedEventHandler(this.btnSoftwore_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#9
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;
        }