📄 frmcalibrate.designer.cs
字号:
this.panel3.Size = new System.Drawing.Size(218, 1);
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Black;
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
this.panel2.Location = new System.Drawing.Point(219, 20);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1, 154);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Black;
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 20);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1, 154);
//
// gridPara
//
this.gridPara.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
this.gridPara.Location = new System.Drawing.Point(5, 43);
this.gridPara.Name = "gridPara";
this.gridPara.Size = new System.Drawing.Size(210, 84);
this.gridPara.TabIndex = 10;
this.gridPara.TableStyles.Add(this.dataGridTableStyle1);
this.gridPara.CurrentCellChanged += new System.EventHandler(this.gridPara_CurrentCellChanged);
//
// dataGridTableStyle1
//
this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn1);
this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn2);
this.dataGridTableStyle1.MappingName = "Calibrate";
//
// dataGridTextBoxColumn1
//
this.dataGridTextBoxColumn1.HeaderText = "Channel";
this.dataGridTextBoxColumn1.MappingName = "Channel";
this.dataGridTextBoxColumn1.NullText = "0";
this.dataGridTextBoxColumn1.Width = 85;
//
// dataGridTextBoxColumn2
//
this.dataGridTextBoxColumn2.HeaderText = "Energy(keV)";
this.dataGridTextBoxColumn2.MappingName = "Energy(keV)";
this.dataGridTextBoxColumn2.NullText = "0";
this.dataGridTextBoxColumn2.Width = 85;
//
// ibtCancel
//
this.ibtCancel.BackgroundPoint = new System.Drawing.Point(0, 0);
this.ibtCancel.FillColor = System.Drawing.Color.White;
this.ibtCancel.Image = ((System.Drawing.Image)(resources.GetObject("ibtCancel.Image")));
this.ibtCancel.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.ibtCancel.Location = new System.Drawing.Point(121, 149);
this.ibtCancel.Name = "ibtCancel";
this.ibtCancel.ShadowColor = System.Drawing.Color.Gray;
this.ibtCancel.ShowShadow = true;
this.ibtCancel.Size = new System.Drawing.Size(36, 22);
this.ibtCancel.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.ibtCancel.TabIndex = 17;
this.ibtCancel.TipAnchor = Custom.TipAnchorStyles.Bottom;
this.ibtCancel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtCancel_MouseUp);
//
// ibtOK
//
this.ibtOK.BackgroundPoint = new System.Drawing.Point(0, 0);
this.ibtOK.FillColor = System.Drawing.Color.White;
this.ibtOK.Image = ((System.Drawing.Image)(resources.GetObject("ibtOK.Image")));
this.ibtOK.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.ibtOK.Location = new System.Drawing.Point(65, 149);
this.ibtOK.Name = "ibtOK";
this.ibtOK.ShadowColor = System.Drawing.Color.Gray;
this.ibtOK.ShowShadow = true;
this.ibtOK.Size = new System.Drawing.Size(36, 22);
this.ibtOK.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.ibtOK.TabIndex = 16;
this.ibtOK.TipAnchor = Custom.TipAnchorStyles.Bottom;
this.ibtOK.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ibtOK_MouseUp);
//
// openFileDialog
//
this.openFileDialog.FileName = "paras";
this.openFileDialog.Filter = "刻度文件(*.cal)|*.cal";
//
// saveFileDialog
//
this.saveFileDialog.FileName = "paras";
this.saveFileDialog.Filter = "刻度文件(*.cal)|*.cal";
this.imageList.Images.Clear();
this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource"))));
this.imageList.Images.Add(((System.Drawing.Image)(resources.GetObject("resource1"))));
//
// DrawBox
//
this.DrawBox.ActivatedColor = System.Drawing.Color.White;
this.DrawBox.ActivatedROI = "";
this.DrawBox.CalibrateCoefficient = new double[0];
this.DrawBox.Coordinate = Custom.MyCoordinate.Line;
this.DrawBox.CoordinateColor = System.Drawing.Color.Blue;
this.DrawBox.Data = new int[0];
this.DrawBox.DataColor = System.Drawing.Color.Red;
this.DrawBox.DataStart = 0;
this.DrawBox.Fill = false;
this.DrawBox.FillColor = System.Drawing.Color.White;
this.DrawBox.GridColor = System.Drawing.Color.LightGray;
this.DrawBox.Image = ((System.Drawing.Image)(resources.GetObject("DrawBox.Image")));
this.DrawBox.LabelCalibrate = null;
this.DrawBox.LabelX = null;
this.DrawBox.LabelY = null;
this.DrawBox.Location = new System.Drawing.Point(1, 56);
this.DrawBox.MaxX = 100;
this.DrawBox.MaxY = 100;
this.DrawBox.MinX = 0;
this.DrawBox.MinY = 0;
this.DrawBox.Name = "DrawBox";
this.DrawBox.PaintGridX = true;
this.DrawBox.PaintGridY = true;
this.DrawBox.RegionColor = System.Drawing.Color.LightGreen;
this.DrawBox.RegionEndX = -1;
this.DrawBox.RegionStartX = -1;
this.DrawBox.SelectedX = -1;
this.DrawBox.SelectLineColor = System.Drawing.Color.LightGreen;
this.DrawBox.ShowCalibrate = false;
this.DrawBox.Size = new System.Drawing.Size(218, 90);
this.DrawBox.Visible = false;
//
// rbtLine
//
this.rbtLine.Location = new System.Drawing.Point(102, 129);
this.rbtLine.Name = "rbtLine";
this.rbtLine.Size = new System.Drawing.Size(52, 16);
this.rbtLine.TabIndex = 22;
this.rbtLine.TabStop = false;
this.rbtLine.Text = "线性";
//
// rbtSqrt
//
this.rbtSqrt.Checked = true;
this.rbtSqrt.Location = new System.Drawing.Point(154, 129);
this.rbtSqrt.Name = "rbtSqrt";
this.rbtSqrt.Size = new System.Drawing.Size(52, 16);
this.rbtSqrt.TabIndex = 23;
this.rbtSqrt.Text = "平方";
//
// label2
//
this.label2.Location = new System.Drawing.Point(14, 129);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(88, 16);
this.label2.Text = "拟合多项式:";
//
// panel4
//
this.panel4.Controls.Add(this.lbResult);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(1, 40);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(218, 22);
this.panel4.Visible = false;
//
// lbResult
//
this.lbResult.Font = new System.Drawing.Font("Tahoma", 7F, System.Drawing.FontStyle.Regular);
this.lbResult.Location = new System.Drawing.Point(0, 0);
this.lbResult.Name = "lbResult";
this.lbResult.Size = new System.Drawing.Size(218, 22);
this.lbResult.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// FrmCalibrate
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(220, 174);
this.ControlBox = false;
this.Controls.Add(this.panel4);
this.Controls.Add(this.DrawBox);
this.Controls.Add(this.label2);
this.Controls.Add(this.rbtSqrt);
this.Controls.Add(this.rbtLine);
this.Controls.Add(this.panel5);
this.Controls.Add(this.ibtCancel);
this.Controls.Add(this.ibtOK);
this.Controls.Add(this.gridPara);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.panelCaption);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Menu = this.mainMenu;
this.Name = "FrmCalibrate";
this.Text = "多道分析系统";
this.Load += new System.EventHandler(this.FrmCalibrate_Load);
this.panel5.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Custom.PanelPro panelCaption;
private System.Windows.Forms.Panel panel5;
private Custom.ImageButton ibtSave;
private Custom.ImageButton ibtOpen;
private Custom.ImageButton ibtDelect;
private Custom.ImageButton ibtAdd;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel1;
private Custom.ImageButton ibtCurve;
private System.Windows.Forms.DataGrid gridPara;
private System.Windows.Forms.NumericUpDown nUpDownvalue;
private System.Windows.Forms.NumericUpDown nUpDownvalue1;
private Custom.ImageButton ibtCancel;
private Custom.ImageButton ibtOK;
private System.Windows.Forms.OpenFileDialog openFileDialog;
private System.Windows.Forms.SaveFileDialog saveFileDialog;
private System.Windows.Forms.DataGridTableStyle dataGridTableStyle1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2;
private System.Windows.Forms.ImageList imageList;
private Custom.DDrawBox DrawBox;
private System.Windows.Forms.MainMenu mainMenu;
private Microsoft.WindowsCE.Forms.InputPanel inputPanel;
private System.Windows.Forms.RadioButton rbtLine;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.RadioButton rbtSqrt;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Label lbResult;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -