private static void OnShowSecondsChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            TimeSpanUpDown timeSpanUpDown = o as TimeSpanUpDown;

            if (timeSpanUpDown != null)
            {
                timeSpanUpDown.OnShowSecondsChanged(( bool )e.OldValue, ( bool )e.NewValue);
            }
        }
        private static void OnFractionalSecondsDigitsCountChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            TimeSpanUpDown timeSpanUpDown = o as TimeSpanUpDown;

            if (timeSpanUpDown != null)
            {
                timeSpanUpDown.OnFractionalSecondsDigitsCountChanged(( int )e.OldValue, ( int )e.NewValue);
            }
        }
        private static object OnCoerceFractionalSecondsDigitsCount(DependencyObject o, object value)
        {
            TimeSpanUpDown timeSpanUpDown = o as TimeSpanUpDown;

            if (timeSpanUpDown != null)
            {
                int digitsCount = (int)value;
                if (digitsCount < 0 || digitsCount > 3)
                {
                    throw new ArgumentException("Fractional seconds digits count must be between 0 and 3.");
                }
            }
            return(value);
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._watermark = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this._clipValuetoMinMax = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this._showSeconds = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this._fractionalSecondsDigitsCount = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            case 6:
                this._defaultValue = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 7:
                this._minimum = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 8:
                this._maximum = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 9:
                this._step = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 10:
                this._timeSpanUpDown = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                ((TDSClient.Forms.frmRouteActivityRouting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                ((TDSClient.Forms.frmRouteActivityRouting)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 19 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.cmdClearAutoRoute.Click += new System.Windows.RoutedEventHandler(this.cmdClearAutoRoute_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.cmdRoute = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.cmdRoute.Click += new System.Windows.RoutedEventHandler(this.cmdRoute_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.checkBoxMapSource.Checked += new System.Windows.RoutedEventHandler(this.checkBoxMapSource_Checked);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.checkBoxMapTarget.Checked += new System.Windows.RoutedEventHandler(this.checkBoxMapTarget_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.dtGridRoute = ((System.Windows.Controls.DataGrid)(target));

            #line 23 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.dtGridRoute.PreparingCellForEdit += new System.EventHandler <System.Windows.Controls.DataGridPreparingCellForEditEventArgs>(this.dtGridRoute_PreparingCellForEdit);

            #line default
            #line hidden

            #line 23 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.dtGridRoute.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtGridRoute_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.cmdNew.Click += new System.Windows.RoutedEventHandler(this.cmdNew_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.cmdDelete.Click += new System.Windows.RoutedEventHandler(this.cmdDelete_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.chkCarMostImportant = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.chkCarMediumImportant = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.chkCarLowImportant = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            case 19:
                this.textBlockRouteName_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 45 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.cmdExit.Click += new System.Windows.RoutedEventHandler(this.cmdExit_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\Forms\frmRouteActivityRouting.xaml"
                this.cmdInsert.Click += new System.Windows.RoutedEventHandler(this.cmdInsert_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.startActivity = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 24:
                this.durationActivity = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 25:
                this.speedUpDown = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Forms\frmActivityEdit.xaml"
                ((TDSClient.Forms.frmActivityEdit)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Forms\frmActivityEdit.xaml"
                ((TDSClient.Forms.frmActivityEdit)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.cmdRoute = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\..\Forms\frmActivityEdit.xaml"
                this.cmdRoute.Click += new System.Windows.RoutedEventHandler(this.cmdRoute_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.startActivity = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 6:
                this.checkBoxMapReferencePoint = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.speedUpDown = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            #line 27 "..\..\..\..\Forms\frmActivityEdit.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 15:
                this.txPlatformName = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TextBlock_Status = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.ComboBox_COMPorts.DropDownOpened += new System.EventHandler(this.ComboBox_COMPorts_DropDownOpened);

            #line default
            #line hidden

            #line 49 "..\..\MainWindow.xaml"
                this.ComboBox_COMPorts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_COMPorts_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 52 "..\..\MainWindow.xaml"
                this.Button_GenerateNewNameFile.Click += new System.Windows.RoutedEventHandler(this.Button_GenerateNewNameFile_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.Button_SetPathFile.Click += new System.Windows.RoutedEventHandler(this.Button_SetPathFile_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.CheckBox_DateTime = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 9:
                this.RadioButton_FixedPoint = ((System.Windows.Controls.RadioButton)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.RadioButton_FixedPoint.Click += new System.Windows.RoutedEventHandler(this.RadioButton_Scientific_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.RadioButton_Scientific = ((System.Windows.Controls.RadioButton)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.RadioButton_Scientific.Click += new System.Windows.RoutedEventHandler(this.RadioButton_Scientific_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.TextBox_FragmentSize = ((System.Windows.Controls.TextBox)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.TextBox_FragmentSize.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_FragmentSize_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

            #line 67 "..\..\MainWindow.xaml"
                this.RadioButton_QtyMeas.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_QtyMeas_Checked);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.RadioButton_Timer.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Timer_Checked);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\MainWindow.xaml"
                this.TextBox_QtyMeas.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_QtyMeas_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 17:
                this.TimeSpanUpDown_Timer = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

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

            #line 72 "..\..\MainWindow.xaml"
                this.Button_FileBurnStart.Click += new System.Windows.RoutedEventHandler(this.Button_FileBurnStart_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.ProgressBar_Status = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 20:
                this.TextBlock_ETA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.MainChart = ((LiveCharts.Wpf.CartesianChart)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.MainChart.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.MainChart_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 22:
                this.TextBlock_CurrentValue = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     ((TDSClient.Forms.frmRouteActivityRouting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     ((TDSClient.Forms.frmRouteActivityRouting)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtSourceX = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.txtSourceY = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtTargetX = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.txtTargetY = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.cmdClearAutoRoute = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.cmdClearAutoRoute.Click += new System.Windows.RoutedEventHandler(this.cmdClearAutoRoute_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.cmdRoute = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.cmdRoute.Click += new System.Windows.RoutedEventHandler(this.cmdRoute_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.checkBoxMapSource = ((System.Windows.Controls.CheckBox)(target));
     
     #line 21 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.checkBoxMapSource.Checked += new System.Windows.RoutedEventHandler(this.checkBoxMapSource_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.checkBoxMapTarget = ((System.Windows.Controls.CheckBox)(target));
     
     #line 22 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.checkBoxMapTarget.Checked += new System.Windows.RoutedEventHandler(this.checkBoxMapTarget_Checked);
     
     #line default
     #line hidden
     return;
     case 10:
     this.dtGridRoute = ((System.Windows.Controls.DataGrid)(target));
     
     #line 23 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.dtGridRoute.PreparingCellForEdit += new System.EventHandler<System.Windows.Controls.DataGridPreparingCellForEditEventArgs>(this.dtGridRoute_PreparingCellForEdit);
     
     #line default
     #line hidden
     
     #line 23 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.dtGridRoute.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dtGridRoute_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.cmdNew = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.cmdNew.Click += new System.Windows.RoutedEventHandler(this.cmdNew_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.cmdDelete = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.cmdDelete.Click += new System.Windows.RoutedEventHandler(this.cmdDelete_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.chkCarMostImportant = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.chkCarMediumImportant = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.chkCarLowImportant = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.chkConstruction = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 17:
     this.textBlockRouteName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.txtRouteName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.textBlockRouteName_Copy = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.txPlatformName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.cmdExit = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.cmdExit.Click += new System.Windows.RoutedEventHandler(this.cmdExit_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.cmdInsert = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\..\Forms\frmRouteActivityRouting.xaml"
     this.cmdInsert.Click += new System.Windows.RoutedEventHandler(this.cmdInsert_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.startActivity = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
     return;
     case 24:
     this.durationActivity = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
     return;
     case 25:
     this.speedUpDown = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((LoggerDeviceValues.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Shutdown);

            #line default
            #line hidden
                return;

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

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

            #line 52 "..\..\MainWindow.xaml"
                this.ComboBox_Interfaces.DropDownOpened += new System.EventHandler(this.ComboBox_Interfaces_DropDownOpened);

            #line default
            #line hidden

            #line 52 "..\..\MainWindow.xaml"
                this.ComboBox_Interfaces.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Interfaces_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 54 "..\..\MainWindow.xaml"
                this.ComboBox_Devices.DropDownOpened += new System.EventHandler(this.ComboBox_Devices_DropDownOpened);

            #line default
            #line hidden

            #line 55 "..\..\MainWindow.xaml"
                this.ComboBox_Devices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Devices_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.TextBlock_DeviceMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.Button_UserConnectToDevice = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.Button_UserConnectToDevice.Click += new System.Windows.RoutedEventHandler(this.Button_UserConnectToDevice_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.GroupBox_Burning = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 9:
                this.RadioButton_QtyMeas = ((System.Windows.Controls.RadioButton)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.RadioButton_QtyMeas.Click += new System.Windows.RoutedEventHandler(this.RadioButton_TimerOrQtyGroup_Change);

            #line default
            #line hidden
                return;

            case 10:
                this.RadioButton_Timer = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 11:
                this.IntegerUpDown_QtyMeas = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 12:
                this.TimeSpanUpDown_Timer = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

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

            #line 98 "..\..\MainWindow.xaml"
                this.Button_FileBurnStart.Click += new System.Windows.RoutedEventHandler(this.Button_FileBurnStart_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.ProgressBar_Status = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 16:
                this.ListBox_Log = ((System.Windows.Controls.ListView)(target));
                return;

            case 18:
                this.TabItem_CurrentMeasurment = ((System.Windows.Controls.TabItem)(target));
                return;

            case 19:
                this.ListView_CurrentDev = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:
                this.RadioButton_StartMeasure = ((System.Windows.Controls.RadioButton)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.RadioButton_StartMeasure.Click += new System.Windows.RoutedEventHandler(this.RadioButton_ChangeSkipDataAction);

            #line default
            #line hidden
                return;

            case 22:
                this.appbar_control_fastforward_variant = ((System.Windows.Controls.Canvas)(target));
                return;

            case 23:
                this.RadioButton_PauseMeasure = ((System.Windows.Controls.RadioButton)(target));

            #line 176 "..\..\MainWindow.xaml"
                this.RadioButton_PauseMeasure.Click += new System.Windows.RoutedEventHandler(this.RadioButton_ChangeSkipDataAction);

            #line default
            #line hidden
                return;

            case 24:
                this.appbar_pause = ((System.Windows.Controls.Canvas)(target));
                return;

            case 25:
                this.Button_DisableDriver = ((System.Windows.Controls.Button)(target));

            #line 184 "..\..\MainWindow.xaml"
                this.Button_DisableDriver.Click += new System.Windows.RoutedEventHandler(this.Button_DisableDriver_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.appbar_close = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 206 "..\..\MainWindow.xaml"
                this.Button_ConfigDevice.Click += new System.Windows.RoutedEventHandler(this.Button_ConfigDevice_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.appbar_cog = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 221 "..\..\MainWindow.xaml"
                this.Button_SaveCurrentData.Click += new System.Windows.RoutedEventHandler(this.Button_SaveCurrentData_Click);

            #line default
            #line hidden
                return;

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

            #line 231 "..\..\MainWindow.xaml"
                this.Button_RemoveData.Click += new System.Windows.RoutedEventHandler(this.Button_RemoveData_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.MainChart = ((OxyPlot.Wpf.PlotView)(target));
                return;

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

            case 33:
                this.TextBlock_CurrentValue = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 36:
                this.TextBlock_Statistics_Avr = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 38:
                this.TextBlock_Statistics_PtP = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.TextBlock_Statistics_FreqMeasure = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.TextBlock_Statistics_CounterMeasure = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.TabItem_Settings = ((System.Windows.Controls.TabItem)(target));
                return;

            case 42:
                this.TextBlock_BurnString = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.CheckBox_BurnFixedPoint = ((System.Windows.Controls.CheckBox)(target));

            #line 355 "..\..\MainWindow.xaml"
                this.CheckBox_BurnFixedPoint.Click += new System.Windows.RoutedEventHandler(this.CheckBox_BurnStringChange);

            #line default
            #line hidden
                return;

            case 44:
                this.CheckBox_BurnCounter = ((System.Windows.Controls.CheckBox)(target));

            #line 356 "..\..\MainWindow.xaml"
                this.CheckBox_BurnCounter.Click += new System.Windows.RoutedEventHandler(this.CheckBox_BurnStringChange);

            #line default
            #line hidden
                return;

            case 45:
                this.CheckBox_BurnDate = ((System.Windows.Controls.CheckBox)(target));

            #line 357 "..\..\MainWindow.xaml"
                this.CheckBox_BurnDate.Click += new System.Windows.RoutedEventHandler(this.CheckBox_BurnStringChange);

            #line default
            #line hidden
                return;

            case 46:
                this.CheckBox_BurnTime = ((System.Windows.Controls.CheckBox)(target));

            #line 358 "..\..\MainWindow.xaml"
                this.CheckBox_BurnTime.Click += new System.Windows.RoutedEventHandler(this.CheckBox_BurnStringChange);

            #line default
            #line hidden
                return;

            case 47:
                this.CheckBox_BurnRAW = ((System.Windows.Controls.CheckBox)(target));

            #line 359 "..\..\MainWindow.xaml"
                this.CheckBox_BurnRAW.Click += new System.Windows.RoutedEventHandler(this.CheckBox_BurnStringChange);

            #line default
            #line hidden
                return;

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

            #line 366 "..\..\MainWindow.xaml"
                this.Button_SetPathFile.Click += new System.Windows.RoutedEventHandler(this.Button_SetPathFile_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.TextBox_FilePath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.Slider_FragmentSize = ((System.Windows.Controls.Slider)(target));
                return;

            case 51:
                this.RadioButton_BurnTXT = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 52:
                this.RadioButton_BurnCSV = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 53:
                this.ComboBox_SizeGraph = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 54:
                this.RadioButton_FixedPoint = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 55:
                this.RadioButton_Scientific = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 56:
                this.Slider_MeanPointFreq = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtsearch = ((System.Windows.Controls.TextBox)(target));

            #line 27 "..\..\DialogSearch.xaml"
                this.txtsearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtsearch_TextChanged);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 46 "..\..\DialogSearch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.containPlayers = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:

            #line 64 "..\..\DialogSearch.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.chTime = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.startTime = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 8:
                this.endTime = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
                return;

            case 9:
                this.list = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 83 "..\..\DialogSearch.xaml"
                this.allselect.Click += new System.Windows.RoutedEventHandler(this.allselect_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\DialogSearch.xaml"
                this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\DialogSearch.xaml"
                this.okey.Click += new System.Windows.RoutedEventHandler(this.okey_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #11
-1
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\..\Forms\frmActivityEdit.xaml"
     ((TDSClient.Forms.frmActivityEdit)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\..\Forms\frmActivityEdit.xaml"
     ((TDSClient.Forms.frmActivityEdit)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Window_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblRoute = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.txtRoute = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.cmdRoute = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\..\Forms\frmActivityEdit.xaml"
     this.cmdRoute.Click += new System.Windows.RoutedEventHandler(this.cmdRoute_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.startActivity = ((Xceed.Wpf.Toolkit.TimeSpanUpDown)(target));
     return;
     case 6:
     this.checkBoxMapReferencePoint = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.speedUpDown = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
     return;
     case 8:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\..\..\Forms\frmActivityEdit.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.lblReferencePoint = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lblX = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.txtReferenceX = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.lblY = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.txtReferenceY = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.textBlockRouteName_Copy = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.txPlatformName = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }