Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Switch = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 2:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.Autre = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.AutreReseaux = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.SwitchEF = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 6:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.ReseauxEF = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.AutreReseauxEF = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.listeSites = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 10:
     this.SitesList = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 11:
     this.SwitchMitigeur = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 12:
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.SwitchMitigeurPoint = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 14:
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.SwitchChangementReg = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 16:
     this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.SwitchArriveeEauFroide = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 18:
     this.textBlock6 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.SwitchInterconnexion = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 20:
     this.textBlock7 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.SwitchBatiment = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 22:
     this.textBlock8 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.SwitchAppareilReseau = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 24:
     this.textBlock9 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.SwitchDispositif = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 26:
     this.textBlock10 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.SwitchMesureTemperature = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 28:
     this.textBlock11 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 29:
     this.temperatureEF = ((System.Windows.Controls.TextBox)(target));
     return;
     case 30:
     this.temperatureEC = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mygrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 7:
                this.txtLatitude = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.btnIsLogin = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
                return;

            case 9:
                this.btnIsCloud = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
                return;

            case 10:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\..\..\Views\ServerSetWin.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\..\Views\ServerSetWin.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

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

            case 2:

            #line 21 "..\..\..\GUI\Designer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Open);

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\..\GUI\Designer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Save);

            #line default
            #line hidden
                return;

            case 4:

            #line 23 "..\..\..\GUI\Designer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 6:
                this.PanningCanvas = ((Imagio.GUI.Controls.PanningCanvas)(target));
                return;

            case 7:
                this.MapCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.MapCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.GridCanvas = ((Imagio.GUI.Controls.GridCanvas)(target));
                return;

            case 10:
                this.GridCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 11:
                this.SelectedImageControls = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.selectedImage = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.SelectedLayerX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.SelectedLayerY = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.SelectedLayerWidth = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.SelectedLayerHeight = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.SelectedImageStretch = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 19:
                this.TxtMapHeight = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.TxtMapZoom = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.btnSendBack = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnSendBack.Click += new System.Windows.RoutedEventHandler(this.btnSendBack_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnSendBack_Copy = ((System.Windows.Controls.Button)(target));

            #line 115 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnSendBack_Copy.Click += new System.Windows.RoutedEventHandler(this.BtnEllipseDraw_OnClick);

            #line default
            #line hidden
                return;

            case 23:
                this.txtRatio = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.txtCursor = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.txtCursorMeters = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 140 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnPolygonDraw.Click += new System.Windows.RoutedEventHandler(this.btnPolygonDraw_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnRectDraw = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnRectDraw.Click += new System.Windows.RoutedEventHandler(this.BtnRectDraw_OnClick);

            #line default
            #line hidden
                return;

            case 29:
                this.btnEllipseDraw = ((System.Windows.Controls.Button)(target));

            #line 143 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnEllipseDraw.Click += new System.Windows.RoutedEventHandler(this.BtnEllipseDraw_OnClick);

            #line default
            #line hidden
                return;

            case 30:
                this.btnImportImage = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnImportImage.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnImportImage_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 145 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnImportImage.Click += new System.Windows.RoutedEventHandler(this.btnImportImage_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnAddObject = ((System.Windows.Controls.Button)(target));

            #line 147 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnAddObject.Click += new System.Windows.RoutedEventHandler(this.btnAddObject_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.foregroundColorPanel = ((System.Windows.Controls.Border)(target));

            #line 151 "..\..\..\GUI\Designer - Copy.xaml"
                this.foregroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.foregroundColorPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 33:
                this.backgroundColorPanel = ((System.Windows.Controls.Border)(target));

            #line 154 "..\..\..\GUI\Designer - Copy.xaml"
                this.backgroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.backgroundColorPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 34:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.MapToggle = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));

            #line 167 "..\..\..\GUI\Designer - Copy.xaml"
                this.MapToggle.Checked += new System.Windows.RoutedEventHandler(this.MapToggle_Checked);

            #line default
            #line hidden

            #line 167 "..\..\..\GUI\Designer - Copy.xaml"
                this.MapToggle.Unchecked += new System.Windows.RoutedEventHandler(this.MapToggle_Unchecked);

            #line default
            #line hidden
                return;

            case 37:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.btnCapture = ((System.Windows.Controls.Button)(target));

            #line 173 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnCapture.Click += new System.Windows.RoutedEventHandler(this.btnCapture_Click_1);

            #line default
            #line hidden
                return;

            case 39:
                this.btnCapture_Copy = ((System.Windows.Controls.Button)(target));

            #line 175 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnCapture_Copy.Click += new System.Windows.RoutedEventHandler(this.btnAddObject_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.Switch = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
     return;
     case 2:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.listeSites = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 4:
     this.SitesList = ((System.Windows.Controls.ItemsControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.GridCanvas = ((Imagio.GUI.Controls.GridCanvas)(target));
                return;

            case 3:
                this.GridCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:
                this.txtDistance = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.textBlock1_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.btnRight = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.buttonbtnMeasure = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\..\GUI\MeasureWindow.xaml"
                this.buttonbtnMeasure.Click += new System.Windows.RoutedEventHandler(this.buttonbtnMeasure_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.LaserToggle = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));

            #line 50 "..\..\..\GUI\MeasureWindow.xaml"
                this.LaserToggle.Unchecked += new System.Windows.RoutedEventHandler(this.LaserToggle_Unchecked);

            #line default
            #line hidden

            #line 50 "..\..\..\GUI\MeasureWindow.xaml"
                this.LaserToggle.Checked += new System.Windows.RoutedEventHandler(this.LaserToggle_Checked);

            #line default
            #line hidden
                return;

            case 12:
                this.txtStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 14:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.Status = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\Window1.xaml"
                ((VIDGS配置软件.SetParameter)(target)).Loaded += new System.Windows.RoutedEventHandler(this.SetParameter_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 21 "..\..\..\Window1.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork);

            #line default
            #line hidden

            #line 21 "..\..\..\Window1.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged);

            #line default
            #line hidden

            #line 22 "..\..\..\Window1.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted);

            #line default
            #line hidden
                return;

            case 3:
                this.Block1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Block2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Group2d = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 6:
                this.border2d = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.Image2dBox = ((System.Windows.Controls.Image)(target));

            #line 85 "..\..\..\Window1.xaml"
                this.Image2dBox.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Image2dBox_MouseWheel);

            #line default
            #line hidden

            #line 85 "..\..\..\Window1.xaml"
                this.Image2dBox.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image2dBox_MouseMove);

            #line default
            #line hidden

            #line 87 "..\..\..\Window1.xaml"
                this.Image2dBox.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 87 "..\..\..\Window1.xaml"
                this.Image2dBox.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 88 "..\..\..\Window1.xaml"
                this.Image2dBox.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseRightButtonDown);

            #line default
            #line hidden

            #line 88 "..\..\..\Window1.xaml"
                this.Image2dBox.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Image2dBox_MouseRightButtonUp);

            #line default
            #line hidden

            #line 89 "..\..\..\Window1.xaml"
                this.Image2dBox.ImageFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.Image2dBox_ImageFailed);

            #line default
            #line hidden
                return;

            case 8:
                this.Xaxiszoom = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
                return;

            case 9:
                this.Yaxiszoom = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

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

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

            #line 103 "..\..\..\Window1.xaml"
                this.button_Clc.Click += new System.Windows.RoutedEventHandler(this.button_Clc_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\..\Window1.xaml"
                this.button_Save.Click += new System.Windows.RoutedEventHandler(this.button_Save_Click);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\..\Window1.xaml"
                this.button_Esc.Click += new System.Windows.RoutedEventHandler(this.button_Esc_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.XNumericUpDown = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

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

            #line 127 "..\..\..\Window1.xaml"
                this.button_2dScan0.Click += new System.Windows.RoutedEventHandler(this.button_2dScan_Click);

            #line default
            #line hidden
                return;

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

            #line 134 "..\..\..\Window1.xaml"
                this.button_Back0.Click += new System.Windows.RoutedEventHandler(this.button_Back0_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.ForBack0_dis27 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 19:
                this.button_Set0 = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\..\Window1.xaml"
                this.button_Set0.Click += new System.Windows.RoutedEventHandler(this.button_Set0_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.button_RightMove = ((System.Windows.Controls.Button)(target));
                return;

            case 21:
                this.button_DownMove = ((System.Windows.Controls.Button)(target));
                return;

            case 22:
                this.button_LeftMove = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.button_UpMove = ((System.Windows.Controls.Button)(target));
                return;

            case 24:
                this.ellipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 25:
                this.SetTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target));
                return;

            case 26:
                this.Tab1 = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

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

            #line 229 "..\..\..\Window1.xaml"
                this.button_ConfirmRect.Click += new System.Windows.RoutedEventHandler(this.button_ConfirmRect_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ForConfirmRect31 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.button_AutoCalibration = ((System.Windows.Controls.Button)(target));

            #line 235 "..\..\..\Window1.xaml"
                this.button_AutoCalibration.Click += new System.Windows.RoutedEventHandler(this.button_AutoCalibration_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.ForAutoCalibration29 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.button_VerticalCalibration = ((System.Windows.Controls.Button)(target));

            #line 241 "..\..\..\Window1.xaml"
                this.button_VerticalCalibration.Click += new System.Windows.RoutedEventHandler(this.button_VerticalCalibration_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.ForVerticalCalibration30 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.Tab2 = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 34:
                this.button_WalkSet = ((System.Windows.Controls.Button)(target));

            #line 269 "..\..\..\Window1.xaml"
                this.button_WalkSet.Click += new System.Windows.RoutedEventHandler(this.button_WalkSet_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.button_WalkTest = ((System.Windows.Controls.Button)(target));

            #line 272 "..\..\..\Window1.xaml"
                this.button_WalkTest.Click += new System.Windows.RoutedEventHandler(this.button_WalkTest_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.button_WalkStop = ((System.Windows.Controls.Button)(target));

            #line 275 "..\..\..\Window1.xaml"
                this.button_WalkStop.Click += new System.Windows.RoutedEventHandler(this.button_WalkStop_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.button_WalkConfirm = ((System.Windows.Controls.Button)(target));

            #line 278 "..\..\..\Window1.xaml"
                this.button_WalkConfirm.Click += new System.Windows.RoutedEventHandler(this.button_WalkConfirm_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.button_WalkDelete = ((System.Windows.Controls.Button)(target));

            #line 281 "..\..\..\Window1.xaml"
                this.button_WalkDelete.Click += new System.Windows.RoutedEventHandler(this.button_WalkDelete_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.button_WalkNum = ((System.Windows.Controls.Button)(target));

            #line 285 "..\..\..\Window1.xaml"
                this.button_WalkNum.Click += new System.Windows.RoutedEventHandler(this.button_WalkNum_Click);

            #line default
            #line hidden
                return;

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

            case 41:
                this.Stop_Y = ((System.Windows.Controls.TextBox)(target));

            #line 290 "..\..\..\Window1.xaml"
                this.Stop_Y.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged);

            #line default
            #line hidden

            #line 290 "..\..\..\Window1.xaml"
                this.Stop_Y.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown);

            #line default
            #line hidden
                return;

            case 42:
                this.drpModel = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 43:
                this.Number_GuideLine = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.button_ModelGuide = ((System.Windows.Controls.Button)(target));

            #line 294 "..\..\..\Window1.xaml"
                this.button_ModelGuide.Click += new System.Windows.RoutedEventHandler(this.button_ModelGuide_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.button_NumberGuide = ((System.Windows.Controls.Button)(target));

            #line 300 "..\..\..\Window1.xaml"
                this.button_NumberGuide.Click += new System.Windows.RoutedEventHandler(this.button_NumberGuide_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.button_TestConfirmPoint = ((System.Windows.Controls.Button)(target));

            #line 306 "..\..\..\Window1.xaml"
                this.button_TestConfirmPoint.Click += new System.Windows.RoutedEventHandler(this.button_TestConfirmPoint_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.Tab3 = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 48:
                this.button_ReadRect = ((System.Windows.Controls.Button)(target));

            #line 331 "..\..\..\Window1.xaml"
                this.button_ReadRect.Click += new System.Windows.RoutedEventHandler(this.button_ReadRect_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.button_Proof = ((System.Windows.Controls.Button)(target));

            #line 333 "..\..\..\Window1.xaml"
                this.button_Proof.Click += new System.Windows.RoutedEventHandler(this.button_Proof_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.button_PointMeasure = ((System.Windows.Controls.Button)(target));

            #line 336 "..\..\..\Window1.xaml"
                this.button_PointMeasure.Click += new System.Windows.RoutedEventHandler(this.button_PointMeasure_Click);

            #line default
            #line hidden
                return;

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

            case 52:
                this.button_OpenRed = ((System.Windows.Controls.Button)(target));

            #line 343 "..\..\..\Window1.xaml"
                this.button_OpenRed.Click += new System.Windows.RoutedEventHandler(this.button_OpenRed_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.button_CloseRed = ((System.Windows.Controls.Button)(target));

            #line 348 "..\..\..\Window1.xaml"
                this.button_CloseRed.Click += new System.Windows.RoutedEventHandler(this.button_CloseRed_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.button_WindowScan = ((System.Windows.Controls.Button)(target));

            #line 356 "..\..\..\Window1.xaml"
                this.button_WindowScan.Click += new System.Windows.RoutedEventHandler(this.button_WindowScan_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.button_GuideLineMove = ((System.Windows.Controls.Button)(target));

            #line 358 "..\..\..\Window1.xaml"
                this.button_GuideLineMove.Click += new System.Windows.RoutedEventHandler(this.button_GuideLineMove_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.TextBox_GuideLineMove = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.button_StopLineMove = ((System.Windows.Controls.Button)(target));

            #line 365 "..\..\..\Window1.xaml"
                this.button_StopLineMove.Click += new System.Windows.RoutedEventHandler(this.button_StopLineMove_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.TextBox_StopLineMove = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:
                this.Tab4 = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 60:
                this.drpdistance = ((System.Windows.Controls.TextBox)(target));

            #line 404 "..\..\..\Window1.xaml"
                this.drpdistance.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown);

            #line default
            #line hidden

            #line 404 "..\..\..\Window1.xaml"
                this.drpdistance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged);

            #line default
            #line hidden
                return;

            case 61:
                this.drpGuide = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 62:
                this.drpStop = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 63:
                this.NumStop = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.Install_height = ((System.Windows.Controls.TextBox)(target));

            #line 462 "..\..\..\Window1.xaml"
                this.Install_height.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown);

            #line default
            #line hidden

            #line 462 "..\..\..\Window1.xaml"
                this.Install_height.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged);

            #line default
            #line hidden
                return;

            case 65:
                this.Object_height = ((System.Windows.Controls.TextBox)(target));

            #line 467 "..\..\..\Window1.xaml"
                this.Object_height.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown);

            #line default
            #line hidden

            #line 467 "..\..\..\Window1.xaml"
                this.Object_height.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged);

            #line default
            #line hidden
                return;

            case 66:
                this.Object_distance = ((System.Windows.Controls.TextBox)(target));

            #line 472 "..\..\..\Window1.xaml"
                this.Object_distance.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown);

            #line default
            #line hidden

            #line 472 "..\..\..\Window1.xaml"
                this.Object_distance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged);

            #line default
            #line hidden
                return;

            case 67:
                this.edit_StandHigh = ((System.Windows.Controls.TextBox)(target));

            #line 477 "..\..\..\Window1.xaml"
                this.edit_StandHigh.KeyDown += new System.Windows.Input.KeyEventHandler(this.Install_height_KeyDown);

            #line default
            #line hidden

            #line 477 "..\..\..\Window1.xaml"
                this.edit_StandHigh.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Install_height_TextChanged);

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

            #line 12 "..\..\MainWindow.xaml"
                ((HV9003TE4.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.Volate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.VolateTextBox = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.PowerState = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));

            #line 212 "..\..\MainWindow.xaml"
                this.PowerState.Click += new System.Windows.RoutedEventHandler(this.Power);

            #line default
            #line hidden
                return;

            case 5:

            #line 214 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Down_Click);

            #line default
            #line hidden
                return;

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

            #line 238 "..\..\MainWindow.xaml"
                this.ChannelCom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Channel_selectChanged);

            #line default
            #line hidden
                return;

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

            #line 248 "..\..\MainWindow.xaml"
                this.ExtensionCom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Exten_selectChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.ResultDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:

            #line 274 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GetPra_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 275 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 276 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Open_click);

            #line default
            #line hidden
                return;

            case 12:

            #line 277 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SendLargeData_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Com1 = ((System.Windows.Controls.ComboBox)(target));

            #line 292 "..\..\MainWindow.xaml"
                this.Com1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Con1_SelectChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.Com2 = ((System.Windows.Controls.ComboBox)(target));

            #line 302 "..\..\MainWindow.xaml"
                this.Com2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Con2_SelectChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.LC = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.DL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.XW = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 19:
                this.Tant = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:

            #line 345 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Confire_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 348 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Alarm_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 457 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_50_Fre_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 460 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_10_Fre_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 463 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_1_Fre_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 466 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_01__Fre_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 470 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Mul_50_Fre_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 473 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Mul_10_Fre_Click);

            #line default
            #line hidden
                return;

            case 28:

            #line 476 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Mul_1_Fre_Click);

            #line default
            #line hidden
                return;

            case 29:

            #line 479 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Mul_01__Fre_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.b1 = ((System.Windows.Controls.Button)(target));

            #line 502 "..\..\MainWindow.xaml"
                this.b1.Click += new System.Windows.RoutedEventHandler(this.Add_10K__Val_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.b2 = ((System.Windows.Controls.Button)(target));

            #line 505 "..\..\MainWindow.xaml"
                this.b2.Click += new System.Windows.RoutedEventHandler(this.Add_1K__Val_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.b3 = ((System.Windows.Controls.Button)(target));

            #line 508 "..\..\MainWindow.xaml"
                this.b3.Click += new System.Windows.RoutedEventHandler(this.Add_100__Val_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.b4 = ((System.Windows.Controls.Button)(target));

            #line 511 "..\..\MainWindow.xaml"
                this.b4.Click += new System.Windows.RoutedEventHandler(this.Add_10__Val_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.add10t = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.b5 = ((System.Windows.Controls.Button)(target));

            #line 515 "..\..\MainWindow.xaml"
                this.b5.Click += new System.Windows.RoutedEventHandler(this.Mul_10K_Vol_CLick);

            #line default
            #line hidden
                return;

            case 36:
                this.b6 = ((System.Windows.Controls.Button)(target));

            #line 518 "..\..\MainWindow.xaml"
                this.b6.Click += new System.Windows.RoutedEventHandler(this.Mul_1K_Vol_CLick);

            #line default
            #line hidden
                return;

            case 37:
                this.b7 = ((System.Windows.Controls.Button)(target));

            #line 521 "..\..\MainWindow.xaml"
                this.b7.Click += new System.Windows.RoutedEventHandler(this.Mul_100_Vol_CLick);

            #line default
            #line hidden
                return;

            case 38:
                this.b8 = ((System.Windows.Controls.Button)(target));

            #line 524 "..\..\MainWindow.xaml"
                this.b8.Click += new System.Windows.RoutedEventHandler(this.Mul_10_Vol_CLick);

            #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.menu = ((System.Windows.Controls.Menu)(target));
                return;

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

            case 3:
                this.txtCursor = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.button_Copy3 = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 36 "..\..\Designer.xaml"
                this.btnImportImage.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnImportImage_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 7:
                this.backgroundColorPanel = ((System.Windows.Controls.Border)(target));

            #line 38 "..\..\Designer.xaml"
                this.backgroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.backgroundColorPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 8:
                this.foregroundColorPanel = ((System.Windows.Controls.Border)(target));

            #line 39 "..\..\Designer.xaml"
                this.foregroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.foregroundColorPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 9:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.toggleSwitchButton = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));
                return;

            case 12:
                this.selectedImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }