📄 frmmain.cs
字号:
this.ibtzYshrink.Size = new System.Drawing.Size(20, 20);
this.ibtzYshrink.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.ibtzYshrink.TabIndex = 6;
this.ibtzYshrink.Text = "减小放大区计数量程";
this.ibtzYshrink.TipAnchor = Custom.TipAnchorStyles.Left;
this.ibtzYshrink.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtzYshrink_MouseUp);
//
// ibtzYextend
//
this.ibtzYextend.BackColor = System.Drawing.Color.Black;
this.ibtzYextend.BackgroundPoint = new System.Drawing.Point(0, 0);
this.ibtzYextend.Dock = System.Windows.Forms.DockStyle.Top;
this.ibtzYextend.FillColor = System.Drawing.Color.White;
this.ibtzYextend.Image = ((System.Drawing.Image)(resources.GetObject("ibtzYextend.Image")));
this.ibtzYextend.LineColor = System.Drawing.Color.Gray;
this.ibtzYextend.Location = new System.Drawing.Point(0, 0);
this.ibtzYextend.Name = "ibtzYextend";
this.ibtzYextend.ShadowColor = System.Drawing.Color.Gray;
this.ibtzYextend.ShowShadow = false;
this.ibtzYextend.Size = new System.Drawing.Size(20, 20);
this.ibtzYextend.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.ibtzYextend.TabIndex = 15;
this.ibtzYextend.Text = "增加放大区计数量程";
this.ibtzYextend.TipAnchor = Custom.TipAnchorStyles.Left;
this.ibtzYextend.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtzYextend_MouseUp);
//
// zdrawbox
//
this.zdrawbox.ActivatedColor = System.Drawing.Color.Red;
this.zdrawbox.ActivatedROI = "";
this.zdrawbox.CalibrateCoefficient = new double[0];
this.zdrawbox.Coordinate = Custom.MyCoordinate.Line;
this.zdrawbox.CoordinateColor = System.Drawing.Color.Lime;
this.zdrawbox.Data = new int[0];
this.zdrawbox.DataColor = System.Drawing.Color.White;
this.zdrawbox.DataStart = 1;
this.zdrawbox.Dock = System.Windows.Forms.DockStyle.Fill;
this.zdrawbox.Fill = true;
this.zdrawbox.FillColor = System.Drawing.Color.Black;
this.zdrawbox.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.zdrawbox.Image = ((System.Drawing.Image)(resources.GetObject("zdrawbox.Image")));
this.zdrawbox.LabelCalibrate = "Energy";
this.zdrawbox.LabelX = "Channel";
this.zdrawbox.LabelY = "Count";
this.zdrawbox.Location = new System.Drawing.Point(0, 0);
this.zdrawbox.MaxX = 1024;
this.zdrawbox.MaxY = 256;
this.zdrawbox.MinX = 0;
this.zdrawbox.MinY = 0;
this.zdrawbox.Name = "zdrawbox";
this.zdrawbox.PaintGridX = false;
this.zdrawbox.PaintGridY = false;
this.zdrawbox.RegionColor = System.Drawing.Color.LimeGreen;
this.zdrawbox.RegionEndX = -1;
this.zdrawbox.RegionStartX = -1;
this.zdrawbox.SelectedX = -1;
this.zdrawbox.SelectLineColor = System.Drawing.Color.LimeGreen;
this.zdrawbox.ShowCalibrate = false;
this.zdrawbox.Size = new System.Drawing.Size(232, 162);
this.zdrawbox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.zdrawbox_MouseDown);
this.zdrawbox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.zdrawbox_MouseMove);
this.zdrawbox.Resize += new System.EventHandler(this.zdrawbox_Resize);
//
// panel13
//
this.panel13.BackColor = System.Drawing.Color.Black;
this.panel13.Dock = System.Windows.Forms.DockStyle.Right;
this.panel13.Location = new System.Drawing.Point(232, 0);
this.panel13.Name = "panel13";
this.panel13.Size = new System.Drawing.Size(8, 162);
//
// panel6
//
this.panel6.Controls.Add(this.hSBRegion);
this.panel6.Controls.Add(this.panel8);
this.panel6.Controls.Add(this.panel7);
this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel6.Location = new System.Drawing.Point(0, 162);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(240, 10);
//
// hSBRegion
//
this.hSBRegion.Dock = System.Windows.Forms.DockStyle.Fill;
this.hSBRegion.LargeChange = 1;
this.hSBRegion.Location = new System.Drawing.Point(30, 0);
this.hSBRegion.Maximum = 0;
this.hSBRegion.Name = "hSBRegion";
this.hSBRegion.Size = new System.Drawing.Size(180, 10);
this.hSBRegion.TabIndex = 8;
this.hSBRegion.ValueChanged += new System.EventHandler(this.hSBRegion_ValueChanged);
//
// panel8
//
this.panel8.BackColor = System.Drawing.SystemColors.Control;
this.panel8.Controls.Add(this.panel12);
this.panel8.Controls.Add(this.panel11);
this.panel8.Controls.Add(this.lbRegionEnd);
this.panel8.Dock = System.Windows.Forms.DockStyle.Right;
this.panel8.Location = new System.Drawing.Point(210, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(30, 10);
//
// panel12
//
this.panel12.BackColor = System.Drawing.Color.Black;
this.panel12.Location = new System.Drawing.Point(0, 9);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(30, 1);
//
// panel11
//
this.panel11.BackColor = System.Drawing.Color.Black;
this.panel11.Dock = System.Windows.Forms.DockStyle.Top;
this.panel11.Location = new System.Drawing.Point(0, 0);
this.panel11.Name = "panel11";
this.panel11.Size = new System.Drawing.Size(30, 1);
//
// lbRegionEnd
//
this.lbRegionEnd.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular);
this.lbRegionEnd.Location = new System.Drawing.Point(-2, -2);
this.lbRegionEnd.Name = "lbRegionEnd";
this.lbRegionEnd.Size = new System.Drawing.Size(34, 14);
this.lbRegionEnd.Text = "1024";
this.lbRegionEnd.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// panel7
//
this.panel7.BackColor = System.Drawing.SystemColors.Control;
this.panel7.Controls.Add(this.panel10);
this.panel7.Controls.Add(this.panel9);
this.panel7.Controls.Add(this.lbRegionStart);
this.panel7.Dock = System.Windows.Forms.DockStyle.Left;
this.panel7.Location = new System.Drawing.Point(0, 0);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(30, 10);
//
// panel10
//
this.panel10.BackColor = System.Drawing.Color.Black;
this.panel10.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel10.Location = new System.Drawing.Point(0, 9);
this.panel10.Name = "panel10";
this.panel10.Size = new System.Drawing.Size(30, 1);
//
// panel9
//
this.panel9.BackColor = System.Drawing.Color.Black;
this.panel9.Dock = System.Windows.Forms.DockStyle.Top;
this.panel9.Location = new System.Drawing.Point(0, 0);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(30, 1);
//
// lbRegionStart
//
this.lbRegionStart.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Regular);
this.lbRegionStart.Location = new System.Drawing.Point(-2, -2);
this.lbRegionStart.Name = "lbRegionStart";
this.lbRegionStart.Size = new System.Drawing.Size(34, 14);
this.lbRegionStart.Text = "0";
this.lbRegionStart.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// panel5
//
this.panel5.Controls.Add(this.panel2);
this.panel5.Controls.Add(this.drawbox);
this.panel5.Controls.Add(this.panel14);
this.panel5.Controls.Add(this.panel);
this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel5.Location = new System.Drawing.Point(0, 172);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(240, 80);
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Black;
this.panel2.Controls.Add(this.ibtChannelsShrink);
this.panel2.Controls.Add(this.ibtChannelsExtend);
this.panel2.Controls.Add(this.ibtChannelsFit);
this.panel2.Location = new System.Drawing.Point(220, 13);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(20, 60);
//
// ibtChannelsShrink
//
this.ibtChannelsShrink.BackgroundPoint = new System.Drawing.Point(0, 0);
this.ibtChannelsShrink.Dock = System.Windows.Forms.DockStyle.Top;
this.ibtChannelsShrink.FillColor = System.Drawing.Color.White;
this.ibtChannelsShrink.Image = ((System.Drawing.Image)(resources.GetObject("ibtChannelsShrink.Image")));
this.ibtChannelsShrink.LineColor = System.Drawing.Color.Gray;
this.ibtChannelsShrink.Location = new System.Drawing.Point(0, 40);
this.ibtChannelsShrink.Name = "ibtChannelsShrink";
this.ibtChannelsShrink.ShadowColor = System.Drawing.Color.Gray;
this.ibtChannelsShrink.ShowShadow = false;
this.ibtChannelsShrink.Size = new System.Drawing.Size(20, 20);
this.ibtChannelsShrink.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.ibtChannelsShrink.TabIndex = 2;
this.ibtChannelsShrink.Text = "减小最大道数";
this.ibtChannelsShrink.TipAnchor = Custom.TipAnchorStyles.Left;
this.ibtChannelsShrink.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtChannelsShrink_MouseUp);
//
// ibtChannelsExtend
//
this.ibtChannelsExtend.BackgroundPoint = new System.Drawing.Point(0, 0);
this.ibtChannelsExtend.Dock = System.Windows.Forms.DockStyle.Top;
this.ibtChannelsExtend.FillColor = System.Drawing.Color.White;
this.ibtChannelsExtend.Image = ((System.Drawing.Image)(resources.GetObject("ibtChannelsExtend.Image")));
this.ibtChannelsExtend.LineColor = System.Drawing.Color.Gray;
this.ibtChannelsExtend.Location = new System.Drawing.Point(0, 20);
this.ibtChannelsExtend.Name = "ibtChannelsExtend";
this.ibtChannelsExtend.ShadowColor = System.Drawing.Color.Gray;
this.ibtChannelsExtend.ShowShadow = false;
this.ibtChannelsExtend.Size = new System.Drawing.Size(20, 20);
this.ibtChannelsExtend.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.ibtChannelsExtend.TabIndex = 1;
this.ibtChannelsExtend.Text = "增加最大道数";
this.ibtChannelsExtend.TipAnchor = Custom.TipAnchorStyles.Left;
this.ibtChannelsExtend.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtChannelsExtend_MouseUp);
//
// ibtChannelsFit
//
this.ibtChannelsFit.BackgroundPoint = new System.Drawing.Point(0, 0);
this.ibtChannelsFit.Dock = System.Windows.Forms.DockStyle.Top;
this.ibtChannelsFit.FillColor = System.Drawing.Color.White;
this.ibtChannelsFit.Image = ((System.Drawing.Image)(resources.GetObject("ibtChannelsFit.Image")));
this.ibtChannelsFit.LineColor = System.Drawing.Color.Gray;
this.ibtChannelsFit.Location = new System.Drawing.Point(0, 0);
this.ibtChannelsFit.Name = "ibtChannelsFit";
this.ibtChannelsFit.ShadowColor = System.Drawing.Color.Gray;
this.ibtChannelsFit.ShowShadow = false;
this.ibtChannelsFit.Size = new System.Drawing.Size(20, 20);
this.ibtChannelsFit.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.ibtChannelsFit.TabIndex = 0;
this.ibtChannelsFit.Text = "选择最合适的最大道数";
this.ibtChannelsFit.TipAnchor = Custom.TipAnchorStyles.Left;
this.ibtChannelsFit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtChannelsfit_MouseUp);
//
// drawbox
//
this.drawbox.ActivatedColor = System.Drawing.Color.Red;
this.drawbox.ActivatedROI = "";
this.drawbox.CalibrateCoefficient = new double[0];
this.drawbox.Coordinate = Custom.MyCoordinate.Line;
this.drawbox.CoordinateColor = System.Drawing.Color.Lime;
this.drawbox.Data = new int[0];
this.drawbox.DataColor = System.Drawing.Color.White;
this.drawbox.DataStart = 1;
this.drawbox.Dock = System.Windows.Forms.DockStyle.Fill;
this.drawbox.Fill = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -