/// <summary> /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Iocomp.Classes.PlotChannelTrace plotChannelTrace1 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace2 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace3 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace4 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace5 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace6 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace7 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace8 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace9 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotChannelTrace plotChannelTrace10 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotDataCursorChannels plotDataCursorChannels1 = new Iocomp.Classes.PlotDataCursorChannels(); Iocomp.Classes.PlotDataView plotDataView1 = new Iocomp.Classes.PlotDataView(); Iocomp.Classes.PlotLabelBasic plotLabelBasic1 = new Iocomp.Classes.PlotLabelBasic(); Iocomp.Classes.PlotLegendBasic plotLegendBasic1 = new Iocomp.Classes.PlotLegendBasic(); Iocomp.Classes.PlotXAxis plotXAxis1 = new Iocomp.Classes.PlotXAxis(); Iocomp.Classes.PlotYAxis plotYAxis1 = new Iocomp.Classes.PlotYAxis(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(tool_form)); this.TabControl_func = new CCWin.SkinControl.SkinTabControl(); this.TabPage_wave = new CCWin.SkinControl.SkinTabPage(); this.wave_main_panel = new System.Windows.Forms.Panel(); this.wave_plot = new Iocomp.Instrumentation.Plotting.Plot(); this.plotToolBar = new Iocomp.Instrumentation.Plotting.PlotToolBarStandard(); this.plotToolBarButton1 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton2 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton3 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton4 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton5 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton6 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton7 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton8 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton9 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton10 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton11 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton12 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton13 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton14 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton15 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton16 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton17 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton18 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton19 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton20 = new Iocomp.Classes.PlotToolBarButton(); this.plotToolBarButton21 = new Iocomp.Classes.PlotToolBarButton(); this.ToolBar_image = new System.Windows.Forms.ImageList(this.components); this.TabPage_data = new CCWin.SkinControl.SkinTabPage(); this.TabPage_device = new CCWin.SkinControl.SkinTabPage(); this.com_panel = new System.Windows.Forms.Panel(); this.com_toolStrip = new System.Windows.Forms.ToolStrip(); this.com_port = new System.Windows.Forms.ToolStripComboBox(); this.com_baudrate = new System.Windows.Forms.ToolStripComboBox(); this.com_switch = new System.Windows.Forms.ToolStripButton(); this.TabControl_func.SuspendLayout(); this.TabPage_wave.SuspendLayout(); this.wave_main_panel.SuspendLayout(); this.com_panel.SuspendLayout(); this.com_toolStrip.SuspendLayout(); this.SuspendLayout(); // // TabControl_func // this.TabControl_func.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TabControl_func.AnimatorType = CCWin.SkinControl.AnimationType.HorizSlide; this.TabControl_func.CloseRect = new System.Drawing.Rectangle(2, 2, 12, 12); this.TabControl_func.Controls.Add(this.TabPage_wave); this.TabControl_func.Controls.Add(this.TabPage_data); this.TabControl_func.Controls.Add(this.TabPage_device); this.TabControl_func.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.TabControl_func.HeadBack = null; this.TabControl_func.ImgTxtOffset = new System.Drawing.Point(0, 0); this.TabControl_func.ItemSize = new System.Drawing.Size(50, 42); this.TabControl_func.Location = new System.Drawing.Point(-3, 0); this.TabControl_func.Margin = new System.Windows.Forms.Padding(0); this.TabControl_func.Multiline = true; this.TabControl_func.Name = "TabControl_func"; this.TabControl_func.PageArrowDown = null; this.TabControl_func.PageArrowHover = null; this.TabControl_func.PageBaseColor = System.Drawing.Color.Red; this.TabControl_func.PageBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.TabControl_func.PageCloseHover = null; this.TabControl_func.PageCloseNormal = null; this.TabControl_func.PageDown = global::toolkit.Properties.Resources.button_down; this.TabControl_func.PageHover = null; this.TabControl_func.PageHoverTxtColor = System.Drawing.Color.DarkTurquoise; this.TabControl_func.PageImagePosition = CCWin.SkinControl.SkinTabControl.ePageImagePosition.Top; this.TabControl_func.PageNorml = null; this.TabControl_func.PageNormlTxtColor = System.Drawing.Color.White; this.TabControl_func.PagePalace = true; this.TabControl_func.SelectedIndex = 0; this.TabControl_func.Size = new System.Drawing.Size(1015, 562); this.TabControl_func.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.TabControl_func.TabIndex = 247; // // TabPage_wave // this.TabPage_wave.BackColor = System.Drawing.Color.SlateGray; this.TabPage_wave.Controls.Add(this.wave_main_panel); this.TabPage_wave.Dock = System.Windows.Forms.DockStyle.Fill; this.TabPage_wave.Location = new System.Drawing.Point(0, 42); this.TabPage_wave.Name = "TabPage_wave"; this.TabPage_wave.Size = new System.Drawing.Size(1015, 520); this.TabPage_wave.TabIndex = 0; this.TabPage_wave.TabItemImage = null; this.TabPage_wave.Text = "波形"; // // wave_main_panel // this.wave_main_panel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.wave_main_panel.BackColor = System.Drawing.Color.Gainsboro; this.wave_main_panel.Controls.Add(this.wave_plot); this.wave_main_panel.Controls.Add(this.plotToolBar); this.wave_main_panel.Location = new System.Drawing.Point(0, 0); this.wave_main_panel.Margin = new System.Windows.Forms.Padding(0); this.wave_main_panel.Name = "wave_main_panel"; this.wave_main_panel.Size = new System.Drawing.Size(1015, 520); this.wave_main_panel.TabIndex = 1; // // wave_plot // this.wave_plot.LoadingBegin(); this.wave_plot.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.wave_plot.AutoSize = false; this.wave_plot.Border.Margin = 1; this.wave_plot.Border.Style = Iocomp.Types.BorderStyleControl.None; plotChannelTrace1.CanFocus = false; plotChannelTrace1.Color = System.Drawing.Color.Red; plotChannelTrace1.Markers.Size = 2; plotChannelTrace1.MarkersTurnOffLimit = 0; plotChannelTrace1.Name = "Channel 1"; plotChannelTrace1.SendXAxisTrackingData = false; plotChannelTrace1.SendYAxisTrackingData = false; plotChannelTrace1.TitleText = "CH1"; plotChannelTrace2.CanFocus = false; plotChannelTrace2.Color = System.Drawing.Color.Blue; plotChannelTrace2.Markers.Size = 2; plotChannelTrace2.MarkersTurnOffLimit = 0; plotChannelTrace2.Name = "Channel 2"; plotChannelTrace2.TitleText = "CH2"; plotChannelTrace3.CanFocus = false; plotChannelTrace3.Color = System.Drawing.Color.Lime; plotChannelTrace3.Markers.Size = 2; plotChannelTrace3.MarkersTurnOffLimit = 0; plotChannelTrace3.Name = "Channel 3"; plotChannelTrace3.TitleText = "CH3"; plotChannelTrace4.CanFocus = false; plotChannelTrace4.Color = System.Drawing.Color.Yellow; plotChannelTrace4.Markers.Size = 2; plotChannelTrace4.MarkersTurnOffLimit = 0; plotChannelTrace4.Name = "Channel 4"; plotChannelTrace4.TitleText = "CH4"; plotChannelTrace5.CanFocus = false; plotChannelTrace5.Color = System.Drawing.Color.Aqua; plotChannelTrace5.Markers.Size = 2; plotChannelTrace5.MarkersTurnOffLimit = 0; plotChannelTrace5.Name = "Channel 5"; plotChannelTrace5.TitleText = "CH5"; plotChannelTrace6.CanFocus = false; plotChannelTrace6.Color = System.Drawing.Color.White; plotChannelTrace6.Markers.Size = 2; plotChannelTrace6.MarkersTurnOffLimit = 0; plotChannelTrace6.Name = "Channel 6"; plotChannelTrace6.TitleText = "CH6"; plotChannelTrace7.CanFocus = false; plotChannelTrace7.Color = System.Drawing.Color.Purple; plotChannelTrace7.Markers.Size = 2; plotChannelTrace7.MarkersTurnOffLimit = 0; plotChannelTrace7.Name = "Channel 7"; plotChannelTrace7.TitleText = "CH7"; plotChannelTrace8.CanFocus = false; plotChannelTrace8.Color = System.Drawing.Color.DeepSkyBlue; plotChannelTrace8.Markers.Size = 2; plotChannelTrace8.MarkersTurnOffLimit = 0; plotChannelTrace8.Name = "Channel 8"; plotChannelTrace8.TitleText = "CH8"; plotChannelTrace9.CanFocus = false; plotChannelTrace9.Color = System.Drawing.Color.LightSeaGreen; plotChannelTrace9.Markers.Size = 2; plotChannelTrace9.MarkersTurnOffLimit = 0; plotChannelTrace9.Name = "Channel 9"; plotChannelTrace9.TitleText = "CH9"; plotChannelTrace10.CanFocus = false; plotChannelTrace10.Color = System.Drawing.Color.OliveDrab; plotChannelTrace10.Markers.Size = 2; plotChannelTrace10.MarkersTurnOffLimit = 0; plotChannelTrace10.Name = "Channel 10"; plotChannelTrace10.TitleText = "CH10"; this.wave_plot.Channels.Add(plotChannelTrace1); this.wave_plot.Channels.Add(plotChannelTrace2); this.wave_plot.Channels.Add(plotChannelTrace3); this.wave_plot.Channels.Add(plotChannelTrace4); this.wave_plot.Channels.Add(plotChannelTrace5); this.wave_plot.Channels.Add(plotChannelTrace6); this.wave_plot.Channels.Add(plotChannelTrace7); this.wave_plot.Channels.Add(plotChannelTrace8); this.wave_plot.Channels.Add(plotChannelTrace9); this.wave_plot.Channels.Add(plotChannelTrace10); this.wave_plot.Cursor = System.Windows.Forms.Cursors.AppStarting; plotDataCursorChannels1.CanFocus = false; plotDataCursorChannels1.Hint.Fill.Brush.SolidColor = System.Drawing.Color.Transparent; plotDataCursorChannels1.Hint.Fill.Brush.Visible = false; plotDataCursorChannels1.Hint.Fill.Pen.Color = System.Drawing.SystemColors.ControlLightLight; plotDataCursorChannels1.Hint.Fill.Pen.Visible = false; plotDataCursorChannels1.Hint.Fill.Visible = false; plotDataCursorChannels1.Hint.ForeColor = System.Drawing.SystemColors.ControlLightLight; plotDataCursorChannels1.HitRegionSize = 0; plotDataCursorChannels1.Name = "Data-Cursor"; plotDataCursorChannels1.PositionX = 0.2D; plotDataCursorChannels1.TitleText = "Data-Cursor"; plotDataCursorChannels1.Window.Size = 3; this.wave_plot.DataCursors.Add(plotDataCursorChannels1); plotDataView1.CanFocus = false; plotDataView1.Color = System.Drawing.Color.Gainsboro; plotDataView1.DockMargin = 0; plotDataView1.Name = "Data-View 1"; plotDataView1.TitleText = "Data-View 1"; this.wave_plot.DataViews.Add(plotDataView1); this.wave_plot.DefaultGridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.wave_plot.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.wave_plot.ForeColor = System.Drawing.Color.Gainsboro; plotLabelBasic1.DockOrder = 0; plotLabelBasic1.Enabled = false; plotLabelBasic1.Name = "Label 1"; plotLabelBasic1.Visible = false; this.wave_plot.Labels.Add(plotLabelBasic1); plotLegendBasic1.CanFocus = false; plotLegendBasic1.DockAutoSizeAlignment = Iocomp.Types.PlotDockAutoSizeAlignment.Center; plotLegendBasic1.DockDataViewName = ""; plotLegendBasic1.DockMargin = -5; plotLegendBasic1.DockOrder = 0; plotLegendBasic1.DockSide = Iocomp.Types.AlignmentQuadSide.Bottom; plotLegendBasic1.Fill.Pen.Thickness = 0D; plotLegendBasic1.MarginOuter = 0.35D; plotLegendBasic1.Name = "Legend 1"; plotLegendBasic1.Spacing = 4D; plotLegendBasic1.TitleText = "Legend 1"; plotLegendBasic1.Wrapping.Margin = 0D; this.wave_plot.Legends.Add(plotLegendBasic1); this.wave_plot.Location = new System.Drawing.Point(0, 31); this.wave_plot.Margin = new System.Windows.Forms.Padding(0); this.wave_plot.Name = "wave_plot"; this.wave_plot.Size = new System.Drawing.Size(1015, 489); this.wave_plot.TabIndex = 0; this.wave_plot.UpdateFrameRate = 25D; plotXAxis1.CanFocus = false; plotXAxis1.DockOrder = 0; plotXAxis1.Name = "X-Axis 1"; plotXAxis1.ScaleDisplay.Margin = 0; plotXAxis1.ScaleDisplay.TextFormatting.Precision = 0; plotXAxis1.ScaleDisplay.TextWidthMinValue = 0D; plotXAxis1.ScaleDisplay.TickMajor.Length = 6; plotXAxis1.ScaleDisplay.TickMajor.TextMargin = 1; plotXAxis1.ScaleDisplay.TickMid.TextVisible = false; plotXAxis1.ScaleDisplay.TickMinor.Length = 0; plotXAxis1.ScaleRange.Min = -1000D; plotXAxis1.ScaleRange.Span = 2000D; plotXAxis1.Title.Text = "X-Axis 1"; plotXAxis1.Tracking.AlignFirstStyle = Iocomp.Types.PlotTrackingAlignFirstStyle.None; this.wave_plot.XAxes.Add(plotXAxis1); plotYAxis1.CanFocus = false; plotYAxis1.DockOrder = 0; plotYAxis1.Name = "Y-Axis 1"; plotYAxis1.ScaleDisplay.Margin = 0; plotYAxis1.ScaleDisplay.TextFormatting.Precision = 0; plotYAxis1.ScaleDisplay.TextWidthMinValue = 0D; plotYAxis1.ScaleDisplay.TickMajor.Length = 6; plotYAxis1.ScaleDisplay.TickMajor.TextMargin = 1; plotYAxis1.ScaleDisplay.TickMid.TextVisible = false; plotYAxis1.ScaleDisplay.TickMinor.Length = 0; plotYAxis1.ScaleRange.Min = -1000D; plotYAxis1.ScaleRange.Span = 2000D; plotYAxis1.Title.Text = "Y-Axis 1"; plotYAxis1.Tracking.Style = Iocomp.Types.PlotTrackingStyle.ScrollSmooth; this.wave_plot.YAxes.Add(plotYAxis1); this.wave_plot.LoadingEnd(); // // plotToolBar // this.plotToolBar.LoadingBegin(); this.plotToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.plotToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.plotToolBarButton1, this.plotToolBarButton2, this.plotToolBarButton3, this.plotToolBarButton4, this.plotToolBarButton5, this.plotToolBarButton6, this.plotToolBarButton7, this.plotToolBarButton8, this.plotToolBarButton9, this.plotToolBarButton10, this.plotToolBarButton11, this.plotToolBarButton12, this.plotToolBarButton13, this.plotToolBarButton14, this.plotToolBarButton15, this.plotToolBarButton16, this.plotToolBarButton17, this.plotToolBarButton18, this.plotToolBarButton19, this.plotToolBarButton20, this.plotToolBarButton21 }); this.plotToolBar.DropDownArrows = true; this.plotToolBar.ImageList = this.ToolBar_image; this.plotToolBar.Location = new System.Drawing.Point(0, 0); this.plotToolBar.Name = "plotToolBar"; this.plotToolBar.Plot = this.wave_plot; this.plotToolBar.ShowToolTips = true; this.plotToolBar.Size = new System.Drawing.Size(1015, 28); this.plotToolBar.TabIndex = 1; this.plotToolBar.LoadingEnd(); // // plotToolBarButton1 // this.plotToolBarButton1.LoadingBegin(); this.plotToolBarButton1.Enabled = false; this.plotToolBarButton1.ImageIndex = 0; this.plotToolBarButton1.Name = "plotToolBarButton1"; this.plotToolBarButton1.ToolTipText = "Tracking Resume"; this.plotToolBarButton1.LoadingEnd(); // // plotToolBarButton2 // this.plotToolBarButton2.LoadingBegin(); this.plotToolBarButton2.Command = Iocomp.Types.PlotToolBarCommandStyle.TrackingPause; this.plotToolBarButton2.ImageIndex = 1; this.plotToolBarButton2.Name = "plotToolBarButton2"; this.plotToolBarButton2.ToolTipText = "Tracking Pause"; this.plotToolBarButton2.LoadingEnd(); // // plotToolBarButton3 // this.plotToolBarButton3.LoadingBegin(); this.plotToolBarButton3.Command = Iocomp.Types.PlotToolBarCommandStyle.Separator; this.plotToolBarButton3.Enabled = false; this.plotToolBarButton3.Name = "plotToolBarButton3"; this.plotToolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; this.plotToolBarButton3.LoadingEnd(); // // plotToolBarButton4 // this.plotToolBarButton4.LoadingBegin(); this.plotToolBarButton4.Command = Iocomp.Types.PlotToolBarCommandStyle.AxesScroll; this.plotToolBarButton4.ImageIndex = 2; this.plotToolBarButton4.Name = "plotToolBarButton4"; this.plotToolBarButton4.Pushed = true; this.plotToolBarButton4.ToolTipText = "Axes Scroll"; this.plotToolBarButton4.LoadingEnd(); // // plotToolBarButton5 // this.plotToolBarButton5.LoadingBegin(); this.plotToolBarButton5.Command = Iocomp.Types.PlotToolBarCommandStyle.AxesZoom; this.plotToolBarButton5.ImageIndex = 3; this.plotToolBarButton5.Name = "plotToolBarButton5"; this.plotToolBarButton5.ToolTipText = "Axes Zoom"; this.plotToolBarButton5.LoadingEnd(); // // plotToolBarButton6 // this.plotToolBarButton6.LoadingBegin(); this.plotToolBarButton6.Command = Iocomp.Types.PlotToolBarCommandStyle.Separator; this.plotToolBarButton6.Enabled = false; this.plotToolBarButton6.Name = "plotToolBarButton6"; this.plotToolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; this.plotToolBarButton6.LoadingEnd(); // // plotToolBarButton7 // this.plotToolBarButton7.LoadingBegin(); this.plotToolBarButton7.Command = Iocomp.Types.PlotToolBarCommandStyle.ZoomOut; this.plotToolBarButton7.ImageIndex = 4; this.plotToolBarButton7.Name = "plotToolBarButton7"; this.plotToolBarButton7.ToolTipText = "Zoom-Out"; this.plotToolBarButton7.LoadingEnd(); // // plotToolBarButton8 // this.plotToolBarButton8.LoadingBegin(); this.plotToolBarButton8.Command = Iocomp.Types.PlotToolBarCommandStyle.ZoomIn; this.plotToolBarButton8.ImageIndex = 5; this.plotToolBarButton8.Name = "plotToolBarButton8"; this.plotToolBarButton8.ToolTipText = "Zoom-In"; this.plotToolBarButton8.LoadingEnd(); // // plotToolBarButton9 // this.plotToolBarButton9.LoadingBegin(); this.plotToolBarButton9.Command = Iocomp.Types.PlotToolBarCommandStyle.Separator; this.plotToolBarButton9.Enabled = false; this.plotToolBarButton9.Name = "plotToolBarButton9"; this.plotToolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; this.plotToolBarButton9.LoadingEnd(); // // plotToolBarButton10 // this.plotToolBarButton10.LoadingBegin(); this.plotToolBarButton10.Command = Iocomp.Types.PlotToolBarCommandStyle.Select; this.plotToolBarButton10.ImageIndex = 6; this.plotToolBarButton10.Name = "plotToolBarButton10"; this.plotToolBarButton10.Pushed = true; this.plotToolBarButton10.ToolTipText = "Select"; this.plotToolBarButton10.LoadingEnd(); // // plotToolBarButton11 // this.plotToolBarButton11.LoadingBegin(); this.plotToolBarButton11.Command = Iocomp.Types.PlotToolBarCommandStyle.ZoomBox; this.plotToolBarButton11.ImageIndex = 7; this.plotToolBarButton11.Name = "plotToolBarButton11"; this.plotToolBarButton11.ToolTipText = "Zoom-Box"; this.plotToolBarButton11.LoadingEnd(); // // plotToolBarButton12 // this.plotToolBarButton12.LoadingBegin(); this.plotToolBarButton12.Command = Iocomp.Types.PlotToolBarCommandStyle.DataCursor; this.plotToolBarButton12.ImageIndex = 8; this.plotToolBarButton12.Name = "plotToolBarButton12"; this.plotToolBarButton12.ToolTipText = "Data-Cursor"; this.plotToolBarButton12.LoadingEnd(); // // plotToolBarButton13 // this.plotToolBarButton13.LoadingBegin(); this.plotToolBarButton13.Command = Iocomp.Types.PlotToolBarCommandStyle.Separator; this.plotToolBarButton13.Enabled = false; this.plotToolBarButton13.Name = "plotToolBarButton13"; this.plotToolBarButton13.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; this.plotToolBarButton13.LoadingEnd(); // // plotToolBarButton14 // this.plotToolBarButton14.LoadingBegin(); this.plotToolBarButton14.Command = Iocomp.Types.PlotToolBarCommandStyle.Edit; this.plotToolBarButton14.ImageIndex = 9; this.plotToolBarButton14.Name = "plotToolBarButton14"; this.plotToolBarButton14.ToolTipText = "Edit"; this.plotToolBarButton14.LoadingEnd(); // // plotToolBarButton15 // this.plotToolBarButton15.LoadingBegin(); this.plotToolBarButton15.Command = Iocomp.Types.PlotToolBarCommandStyle.Separator; this.plotToolBarButton15.Enabled = false; this.plotToolBarButton15.Name = "plotToolBarButton15"; this.plotToolBarButton15.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; this.plotToolBarButton15.LoadingEnd(); // // plotToolBarButton16 // this.plotToolBarButton16.LoadingBegin(); this.plotToolBarButton16.Command = Iocomp.Types.PlotToolBarCommandStyle.Copy; this.plotToolBarButton16.ImageIndex = 10; this.plotToolBarButton16.Name = "plotToolBarButton16"; this.plotToolBarButton16.ToolTipText = "Copy to Clipboard"; this.plotToolBarButton16.LoadingEnd(); // // plotToolBarButton17 // this.plotToolBarButton17.LoadingBegin(); this.plotToolBarButton17.Command = Iocomp.Types.PlotToolBarCommandStyle.Save; this.plotToolBarButton17.ImageIndex = 11; this.plotToolBarButton17.Name = "plotToolBarButton17"; this.plotToolBarButton17.ToolTipText = "Save"; this.plotToolBarButton17.LoadingEnd(); // // plotToolBarButton18 // this.plotToolBarButton18.LoadingBegin(); this.plotToolBarButton18.Command = Iocomp.Types.PlotToolBarCommandStyle.Separator; this.plotToolBarButton18.Enabled = false; this.plotToolBarButton18.Name = "plotToolBarButton18"; this.plotToolBarButton18.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; this.plotToolBarButton18.LoadingEnd(); // // plotToolBarButton19 // this.plotToolBarButton19.LoadingBegin(); this.plotToolBarButton19.Command = Iocomp.Types.PlotToolBarCommandStyle.Print; this.plotToolBarButton19.ImageIndex = 12; this.plotToolBarButton19.Name = "plotToolBarButton19"; this.plotToolBarButton19.ToolTipText = "Print"; this.plotToolBarButton19.LoadingEnd(); // // plotToolBarButton20 // this.plotToolBarButton20.LoadingBegin(); this.plotToolBarButton20.Command = Iocomp.Types.PlotToolBarCommandStyle.Preview; this.plotToolBarButton20.ImageIndex = 13; this.plotToolBarButton20.Name = "plotToolBarButton20"; this.plotToolBarButton20.ToolTipText = "Preview"; this.plotToolBarButton20.LoadingEnd(); // // plotToolBarButton21 // this.plotToolBarButton21.LoadingBegin(); this.plotToolBarButton21.Command = Iocomp.Types.PlotToolBarCommandStyle.PageSetup; this.plotToolBarButton21.ImageIndex = 14; this.plotToolBarButton21.Name = "plotToolBarButton21"; this.plotToolBarButton21.ToolTipText = "Page Setup"; this.plotToolBarButton21.LoadingEnd(); // // ToolBar_image // this.ToolBar_image.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ToolBar_image.ImageStream"))); this.ToolBar_image.TransparentColor = System.Drawing.Color.Transparent; this.ToolBar_image.Images.SetKeyName(0, ""); this.ToolBar_image.Images.SetKeyName(1, ""); this.ToolBar_image.Images.SetKeyName(2, ""); this.ToolBar_image.Images.SetKeyName(3, ""); this.ToolBar_image.Images.SetKeyName(4, ""); this.ToolBar_image.Images.SetKeyName(5, ""); this.ToolBar_image.Images.SetKeyName(6, ""); this.ToolBar_image.Images.SetKeyName(7, ""); this.ToolBar_image.Images.SetKeyName(8, ""); this.ToolBar_image.Images.SetKeyName(9, ""); this.ToolBar_image.Images.SetKeyName(10, ""); this.ToolBar_image.Images.SetKeyName(11, ""); this.ToolBar_image.Images.SetKeyName(12, ""); this.ToolBar_image.Images.SetKeyName(13, ""); // // TabPage_data // this.TabPage_data.BackColor = System.Drawing.Color.SlateGray; this.TabPage_data.Dock = System.Windows.Forms.DockStyle.Fill; this.TabPage_data.Location = new System.Drawing.Point(0, 42); this.TabPage_data.Name = "TabPage_data"; this.TabPage_data.Size = new System.Drawing.Size(1015, 520); this.TabPage_data.TabIndex = 1; this.TabPage_data.TabItemImage = null; this.TabPage_data.Text = "数据"; // // TabPage_device // this.TabPage_device.BackColor = System.Drawing.Color.SlateGray; this.TabPage_device.Dock = System.Windows.Forms.DockStyle.Fill; this.TabPage_device.Location = new System.Drawing.Point(0, 42); this.TabPage_device.Name = "TabPage_device"; this.TabPage_device.Size = new System.Drawing.Size(1015, 520); this.TabPage_device.TabIndex = 2; this.TabPage_device.TabItemImage = null; this.TabPage_device.Text = "设备"; // // com_panel // this.com_panel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.com_panel.BackColor = System.Drawing.Color.Transparent; this.com_panel.Controls.Add(this.com_toolStrip); this.com_panel.Location = new System.Drawing.Point(303, 0); this.com_panel.Margin = new System.Windows.Forms.Padding(0); this.com_panel.Name = "com_panel"; this.com_panel.Size = new System.Drawing.Size(709, 42); this.com_panel.TabIndex = 248; // // com_toolStrip // this.com_toolStrip.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.com_toolStrip.BackColor = System.Drawing.Color.Transparent; this.com_toolStrip.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.com_toolStrip.Dock = System.Windows.Forms.DockStyle.None; this.com_toolStrip.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); this.com_toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.com_toolStrip.ImageScalingSize = new System.Drawing.Size(35, 35); this.com_toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.com_port, this.com_baudrate, this.com_switch }); this.com_toolStrip.Location = new System.Drawing.Point(421, 2); this.com_toolStrip.Name = "com_toolStrip"; this.com_toolStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; this.com_toolStrip.RightToLeft = System.Windows.Forms.RightToLeft.No; this.com_toolStrip.Size = new System.Drawing.Size(257, 42); this.com_toolStrip.TabIndex = 4; this.com_toolStrip.Text = "com_toolStrip"; // // com_port // this.com_port.BackColor = System.Drawing.Color.White; this.com_port.DropDownWidth = 200; this.com_port.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.com_port.ForeColor = System.Drawing.Color.Black; this.com_port.Margin = new System.Windows.Forms.Padding(0, 1, 20, 2); this.com_port.MaxLength = 200; this.com_port.Name = "com_port"; this.com_port.Size = new System.Drawing.Size(100, 39); this.com_port.Sorted = true; this.com_port.Text = "AUTO"; this.com_port.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; // // com_baudrate // this.com_baudrate.BackColor = System.Drawing.Color.White; this.com_baudrate.ForeColor = System.Drawing.Color.Black; this.com_baudrate.Items.AddRange(new object[] { "9600", "14400", "19200", "38400", "57600", "115200", "128000", "153600", "230400", "250000", "256000", "460800", "500000", "576000", "625000" }); this.com_baudrate.Margin = new System.Windows.Forms.Padding(0, 1, 20, 2); this.com_baudrate.Name = "com_baudrate"; this.com_baudrate.Size = new System.Drawing.Size(75, 39); this.com_baudrate.Text = "115200"; this.com_baudrate.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; // // com_switch // this.com_switch.AutoToolTip = false; this.com_switch.BackColor = System.Drawing.Color.Transparent; this.com_switch.CheckOnClick = true; this.com_switch.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.com_switch.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.com_switch.Image = ((System.Drawing.Image)(resources.GetObject("com_switch.Image"))); this.com_switch.ImageTransparentColor = System.Drawing.Color.Magenta; this.com_switch.Name = "com_switch"; this.com_switch.Size = new System.Drawing.Size(39, 39); this.com_switch.Text = "端口"; // // wave_form // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(57)))), ((int)(((byte)(64))))); this.CausesValidation = false; this.ClientSize = new System.Drawing.Size(1008, 561); this.Controls.Add(this.com_panel); this.Controls.Add(this.TabControl_func); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "wave_form"; this.Text = "TOOL"; this.TabControl_func.ResumeLayout(false); this.TabPage_wave.ResumeLayout(false); this.wave_main_panel.ResumeLayout(false); this.wave_main_panel.PerformLayout(); this.com_panel.ResumeLayout(false); this.com_panel.PerformLayout(); this.com_toolStrip.ResumeLayout(false); this.com_toolStrip.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Iocomp.Classes.PlotChannelTrace plotChannelTrace1 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotDataCursorXY plotDataCursorXY1 = new Iocomp.Classes.PlotDataCursorXY(); Iocomp.Classes.PlotDataView plotDataView1 = new Iocomp.Classes.PlotDataView(); Iocomp.Classes.PlotLabelBasic plotLabelBasic1 = new Iocomp.Classes.PlotLabelBasic(); Iocomp.Classes.PlotLegendBasic plotLegendBasic1 = new Iocomp.Classes.PlotLegendBasic(); Iocomp.Classes.PlotXAxis plotXAxis1 = new Iocomp.Classes.PlotXAxis(); Iocomp.Classes.PlotYAxis plotYAxis1 = new Iocomp.Classes.PlotYAxis(); Iocomp.Classes.PlotChannelTrace plotChannelTrace2 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotDataCursorXY plotDataCursorXY2 = new Iocomp.Classes.PlotDataCursorXY(); Iocomp.Classes.PlotDataView plotDataView2 = new Iocomp.Classes.PlotDataView(); Iocomp.Classes.PlotLabelBasic plotLabelBasic2 = new Iocomp.Classes.PlotLabelBasic(); Iocomp.Classes.PlotLegendBasic plotLegendBasic2 = new Iocomp.Classes.PlotLegendBasic(); Iocomp.Classes.PlotXAxis plotXAxis2 = new Iocomp.Classes.PlotXAxis(); Iocomp.Classes.PlotYAxis plotYAxis2 = new Iocomp.Classes.PlotYAxis(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.plot1 = new Iocomp.Instrumentation.Plotting.Plot(); this.plot2 = new Iocomp.Instrumentation.Plotting.Plot(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.beginButton = new System.Windows.Forms.Button(); this.imageList2 = new System.Windows.Forms.ImageList(this.components); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.SuspendLayout(); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.plot1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.plot2); this.splitContainer1.Size = new System.Drawing.Size(1132, 554); this.splitContainer1.SplitterDistance = 255; this.splitContainer1.TabIndex = 0; // // plot1 // this.plot1.LoadingBegin(); plotChannelTrace1.Color = System.Drawing.Color.Red; plotChannelTrace1.Name = "Channel 1"; plotChannelTrace1.TitleText = "Channel 1"; this.plot1.Channels.Add(plotChannelTrace1); plotDataCursorXY1.Hint.Fill.Pen.Color = System.Drawing.SystemColors.InfoText; plotDataCursorXY1.Name = "Data-Cursor 1"; plotDataCursorXY1.TitleText = "Data-Cursor 1"; this.plot1.DataCursors.Add(plotDataCursorXY1); plotDataView1.Name = "Data-View 1"; plotDataView1.TitleText = "Data-View 1"; this.plot1.DataViews.Add(plotDataView1); this.plot1.Dock = System.Windows.Forms.DockStyle.Fill; plotLabelBasic1.DockOrder = 0; plotLabelBasic1.Name = "Label 1"; plotLabelBasic1.TitleText = "Label 1"; this.plot1.Labels.Add(plotLabelBasic1); plotLegendBasic1.DockOrder = 0; plotLegendBasic1.Name = "Legend 1"; plotLegendBasic1.TitleText = "Legend 1"; this.plot1.Legends.Add(plotLegendBasic1); this.plot1.Location = new System.Drawing.Point(0, 0); this.plot1.Name = "plot1"; this.plot1.Size = new System.Drawing.Size(1132, 255); this.plot1.TabIndex = 0; plotXAxis1.DockOrder = 0; plotXAxis1.Name = "X-Axis 1"; plotXAxis1.Title.Text = "X-Axis 1"; this.plot1.XAxes.Add(plotXAxis1); plotYAxis1.DockOrder = 0; plotYAxis1.Name = "Y-Axis 1"; plotYAxis1.Title.Text = "Y-Axis 1"; this.plot1.YAxes.Add(plotYAxis1); this.plot1.LoadingEnd(); // // plot2 // this.plot2.LoadingBegin(); plotChannelTrace2.Color = System.Drawing.Color.Red; plotChannelTrace2.Name = "Channel 1"; plotChannelTrace2.TitleText = "Channel 1"; this.plot2.Channels.Add(plotChannelTrace2); plotDataCursorXY2.Hint.Fill.Pen.Color = System.Drawing.SystemColors.InfoText; plotDataCursorXY2.Name = "Data-Cursor 1"; plotDataCursorXY2.TitleText = "Data-Cursor 1"; this.plot2.DataCursors.Add(plotDataCursorXY2); plotDataView2.Name = "Data-View 1"; plotDataView2.TitleText = "Data-View 1"; this.plot2.DataViews.Add(plotDataView2); this.plot2.Dock = System.Windows.Forms.DockStyle.Fill; plotLabelBasic2.DockOrder = 0; plotLabelBasic2.Name = "Label 1"; plotLabelBasic2.TitleText = "Label 1"; this.plot2.Labels.Add(plotLabelBasic2); plotLegendBasic2.DockOrder = 0; plotLegendBasic2.Name = "Legend 1"; plotLegendBasic2.TitleText = "Legend 1"; this.plot2.Legends.Add(plotLegendBasic2); this.plot2.Location = new System.Drawing.Point(0, 0); this.plot2.Name = "plot2"; this.plot2.Size = new System.Drawing.Size(1132, 295); this.plot2.TabIndex = 0; plotXAxis2.DockOrder = 0; plotXAxis2.Name = "X-Axis 1"; plotXAxis2.Title.Text = "X-Axis 1"; this.plot2.XAxes.Add(plotXAxis2); plotYAxis2.DockOrder = 0; plotYAxis2.Name = "Y-Axis 1"; plotYAxis2.Title.Text = "Y-Axis 1"; this.plot2.YAxes.Add(plotYAxis2); this.plot2.LoadingEnd(); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.beginButton); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.splitContainer1); this.splitContainer2.Size = new System.Drawing.Size(1223, 554); this.splitContainer2.SplitterDistance = 87; this.splitContainer2.TabIndex = 1; // // beginButton // this.beginButton.Location = new System.Drawing.Point(8, 8); this.beginButton.Name = "beginButton"; this.beginButton.Size = new System.Drawing.Size(75, 23); this.beginButton.TabIndex = 0; this.beginButton.Text = "开始"; this.beginButton.UseVisualStyleBackColor = true; this.beginButton.Click += new System.EventHandler(this.beginButton_Click); // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); this.imageList2.Images.SetKeyName(3, ""); this.imageList2.Images.SetKeyName(4, ""); this.imageList2.Images.SetKeyName(5, ""); this.imageList2.Images.SetKeyName(6, ""); this.imageList2.Images.SetKeyName(7, ""); this.imageList2.Images.SetKeyName(8, ""); this.imageList2.Images.SetKeyName(9, ""); this.imageList2.Images.SetKeyName(10, ""); this.imageList2.Images.SetKeyName(11, ""); this.imageList2.Images.SetKeyName(12, ""); this.imageList2.Images.SetKeyName(13, ""); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1223, 554); this.Controls.Add(this.splitContainer2); this.Name = "MainForm"; this.Text = "Form1"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed); this.Load += new System.EventHandler(this.MainForm_Load); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.PerformLayout(); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { Iocomp.Classes.PlotChannelTrace plotChannelTrace1 = new Iocomp.Classes.PlotChannelTrace(); Iocomp.Classes.PlotDataCursorXY plotDataCursorXY1 = new Iocomp.Classes.PlotDataCursorXY(); Iocomp.Classes.PlotDataView plotDataView1 = new Iocomp.Classes.PlotDataView(); Iocomp.Classes.PlotLabelBasic plotLabelBasic1 = new Iocomp.Classes.PlotLabelBasic(); Iocomp.Classes.PlotLegendBasic plotLegendBasic1 = new Iocomp.Classes.PlotLegendBasic(); Iocomp.Classes.PlotXAxis plotXAxis1 = new Iocomp.Classes.PlotXAxis(); Iocomp.Classes.PlotYAxis plotYAxis1 = new Iocomp.Classes.PlotYAxis(); this.plot1 = new Iocomp.Instrumentation.Plotting.Plot(); this.panel1 = new System.Windows.Forms.Panel(); this.baudRateComboBox = new System.Windows.Forms.ComboBox(); this.startButton = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.portComboBox = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.saveDataButton = new System.Windows.Forms.Button(); this.loadDataButton = new System.Windows.Forms.Button(); this.clearDataButton = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // plot1 // this.plot1.LoadingBegin(); plotChannelTrace1.Color = System.Drawing.Color.Red; plotChannelTrace1.Name = "ID0"; plotChannelTrace1.TitleText = "ID0"; this.plot1.Channels.Add(plotChannelTrace1); plotDataCursorXY1.Hint.Fill.Pen.Color = System.Drawing.SystemColors.InfoText; plotDataCursorXY1.Name = "Data-Cursor 1"; plotDataCursorXY1.TitleText = "Data-Cursor 1"; this.plot1.DataCursors.Add(plotDataCursorXY1); plotDataView1.Name = "Data-View 1"; plotDataView1.TitleText = "Data-View 1"; this.plot1.DataViews.Add(plotDataView1); this.plot1.Dock = System.Windows.Forms.DockStyle.Fill; plotLabelBasic1.DockOrder = 0; plotLabelBasic1.Name = "Label 1"; plotLabelBasic1.TitleText = "Label 1"; this.plot1.Labels.Add(plotLabelBasic1); plotLegendBasic1.DockOrder = 0; plotLegendBasic1.Name = "Legend 1"; plotLegendBasic1.TitleText = "Legend 1"; this.plot1.Legends.Add(plotLegendBasic1); this.plot1.Location = new System.Drawing.Point(0, 0); this.plot1.Name = "plot1"; this.plot1.Size = new System.Drawing.Size(1257, 340); this.plot1.TabIndex = 1; plotXAxis1.DockOrder = 0; plotXAxis1.Name = "X-Axis 1"; plotXAxis1.Title.Text = "X-Axis 1"; this.plot1.XAxes.Add(plotXAxis1); plotYAxis1.DockOrder = 0; plotYAxis1.Name = "Y-Axis 1"; plotYAxis1.Title.Text = "Y-Axis 1"; this.plot1.YAxes.Add(plotYAxis1); this.plot1.LoadingEnd(); // // panel1 // this.panel1.Controls.Add(this.clearDataButton); this.panel1.Controls.Add(this.loadDataButton); this.panel1.Controls.Add(this.saveDataButton); this.panel1.Controls.Add(this.baudRateComboBox); this.panel1.Controls.Add(this.startButton); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.portComboBox); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1257, 39); this.panel1.TabIndex = 2; // // baudRateComboBox // this.baudRateComboBox.FormattingEnabled = true; this.baudRateComboBox.Location = new System.Drawing.Point(222, 9); this.baudRateComboBox.Name = "baudRateComboBox"; this.baudRateComboBox.Size = new System.Drawing.Size(77, 20); this.baudRateComboBox.TabIndex = 5; // // startButton // this.startButton.Location = new System.Drawing.Point(334, 7); this.startButton.Name = "startButton"; this.startButton.Size = new System.Drawing.Size(75, 23); this.startButton.TabIndex = 4; this.startButton.Text = "开始"; this.startButton.UseVisualStyleBackColor = true; this.startButton.Click += new System.EventHandler(this.startButton_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(175, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(41, 12); this.label2.TabIndex = 2; this.label2.Text = "波特率"; // // portComboBox // this.portComboBox.FormattingEnabled = true; this.portComboBox.Location = new System.Drawing.Point(66, 9); this.portComboBox.Name = "portComboBox"; this.portComboBox.Size = new System.Drawing.Size(61, 20); this.portComboBox.TabIndex = 1; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(19, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(41, 12); this.label1.TabIndex = 0; this.label1.Text = "串口号"; // // saveDataButton // this.saveDataButton.Location = new System.Drawing.Point(518, 7); this.saveDataButton.Name = "saveDataButton"; this.saveDataButton.Size = new System.Drawing.Size(75, 23); this.saveDataButton.TabIndex = 6; this.saveDataButton.Text = "保存数据"; this.saveDataButton.UseVisualStyleBackColor = true; this.saveDataButton.Click += new System.EventHandler(this.saveDataButton_Click); // // loadDataButton // this.loadDataButton.Location = new System.Drawing.Point(610, 7); this.loadDataButton.Name = "loadDataButton"; this.loadDataButton.Size = new System.Drawing.Size(75, 23); this.loadDataButton.TabIndex = 7; this.loadDataButton.Text = "加载数据"; this.loadDataButton.UseVisualStyleBackColor = true; this.loadDataButton.Click += new System.EventHandler(this.loadDataButton_Click); // // clearDataButton // this.clearDataButton.Location = new System.Drawing.Point(426, 7); this.clearDataButton.Name = "clearDataButton"; this.clearDataButton.Size = new System.Drawing.Size(75, 23); this.clearDataButton.TabIndex = 8; this.clearDataButton.Text = "清除数据"; this.clearDataButton.UseVisualStyleBackColor = true; this.clearDataButton.Click += new System.EventHandler(this.clearDataButton_Click); // // ShowWaveForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1257, 340); this.Controls.Add(this.panel1); this.Controls.Add(this.plot1); this.Name = "ShowWaveForm"; this.Text = "波形显示"; this.Load += new System.EventHandler(this.ShowWaveForm_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }