|
@@ -30,6 +30,12 @@ namespace OTSMeasureApp
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.dg1 = new System.Windows.Forms.DataGridView();
|
|
|
+ this.confirm = new System.Windows.Forms.Button();
|
|
|
+ this.button2 = new System.Windows.Forms.Button();
|
|
|
+ this.button1 = new System.Windows.Forms.Button();
|
|
|
+ this.button3 = new System.Windows.Forms.Button();
|
|
|
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
|
this.RegName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.start = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.end = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
@@ -37,12 +43,6 @@ namespace OTSMeasureApp
|
|
|
this.diameterEnd = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.collectXray = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
this.rangeChoose = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
|
- this.confirm = new System.Windows.Forms.Button();
|
|
|
- this.button2 = new System.Windows.Forms.Button();
|
|
|
- this.button1 = new System.Windows.Forms.Button();
|
|
|
- this.button3 = new System.Windows.Forms.Button();
|
|
|
- this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
- this.checkBox1 = new System.Windows.Forms.CheckBox();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dg1)).BeginInit();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
@@ -68,57 +68,6 @@ namespace OTSMeasureApp
|
|
|
this.dg1.TabIndex = 2;
|
|
|
this.dg1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dg1_CellContentClick);
|
|
|
//
|
|
|
- // RegName
|
|
|
- //
|
|
|
- this.RegName.DataPropertyName = "RegName";
|
|
|
- this.RegName.HeaderText = "名称";
|
|
|
- this.RegName.Name = "RegName";
|
|
|
- this.RegName.Width = 80;
|
|
|
- //
|
|
|
- // start
|
|
|
- //
|
|
|
- this.start.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.start.DataPropertyName = "start";
|
|
|
- this.start.HeaderText = "开始灰度(0-255)";
|
|
|
- this.start.Name = "start";
|
|
|
- //
|
|
|
- // end
|
|
|
- //
|
|
|
- this.end.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.end.DataPropertyName = "end";
|
|
|
- this.end.HeaderText = "结束灰度(0-255)";
|
|
|
- this.end.Name = "end";
|
|
|
- //
|
|
|
- // diameterStart
|
|
|
- //
|
|
|
- this.diameterStart.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.diameterStart.DataPropertyName = "diameterStart";
|
|
|
- this.diameterStart.HeaderText = "开始直径(微米)";
|
|
|
- this.diameterStart.Name = "diameterStart";
|
|
|
- //
|
|
|
- // diameterEnd
|
|
|
- //
|
|
|
- this.diameterEnd.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.diameterEnd.DataPropertyName = "diameterEnd";
|
|
|
- this.diameterEnd.HeaderText = "结束直径(微米)";
|
|
|
- this.diameterEnd.Name = "diameterEnd";
|
|
|
- //
|
|
|
- // collectXray
|
|
|
- //
|
|
|
- this.collectXray.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.collectXray.DataPropertyName = "collectXray";
|
|
|
- this.collectXray.HeaderText = "是否采集Xray";
|
|
|
- this.collectXray.Name = "collectXray";
|
|
|
- this.collectXray.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.collectXray.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
- //
|
|
|
- // rangeChoose
|
|
|
- //
|
|
|
- this.rangeChoose.HeaderText = "可视化选择";
|
|
|
- this.rangeChoose.Name = "rangeChoose";
|
|
|
- this.rangeChoose.Text = "灰度选择";
|
|
|
- this.rangeChoose.UseColumnTextForButtonValue = true;
|
|
|
- //
|
|
|
// confirm
|
|
|
//
|
|
|
this.confirm.Location = new System.Drawing.Point(538, 378);
|
|
@@ -178,6 +127,57 @@ namespace OTSMeasureApp
|
|
|
this.checkBox1.Text = "启用";
|
|
|
this.checkBox1.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
+ // RegName
|
|
|
+ //
|
|
|
+ this.RegName.DataPropertyName = "RegName";
|
|
|
+ this.RegName.HeaderText = "名称";
|
|
|
+ this.RegName.Name = "RegName";
|
|
|
+ this.RegName.Width = 80;
|
|
|
+ //
|
|
|
+ // start
|
|
|
+ //
|
|
|
+ this.start.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.start.DataPropertyName = "start";
|
|
|
+ this.start.HeaderText = "开始灰度(0-255)";
|
|
|
+ this.start.Name = "start";
|
|
|
+ //
|
|
|
+ // end
|
|
|
+ //
|
|
|
+ this.end.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.end.DataPropertyName = "end";
|
|
|
+ this.end.HeaderText = "结束灰度(0-255)";
|
|
|
+ this.end.Name = "end";
|
|
|
+ //
|
|
|
+ // diameterStart
|
|
|
+ //
|
|
|
+ this.diameterStart.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.diameterStart.DataPropertyName = "diameterStart";
|
|
|
+ this.diameterStart.HeaderText = "开始直径(微米)";
|
|
|
+ this.diameterStart.Name = "diameterStart";
|
|
|
+ //
|
|
|
+ // diameterEnd
|
|
|
+ //
|
|
|
+ this.diameterEnd.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.diameterEnd.DataPropertyName = "diameterEnd";
|
|
|
+ this.diameterEnd.HeaderText = "结束直径(微米)";
|
|
|
+ this.diameterEnd.Name = "diameterEnd";
|
|
|
+ //
|
|
|
+ // collectXray
|
|
|
+ //
|
|
|
+ this.collectXray.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.collectXray.DataPropertyName = "collectXray";
|
|
|
+ this.collectXray.HeaderText = "是否采集Xray";
|
|
|
+ this.collectXray.Name = "collectXray";
|
|
|
+ this.collectXray.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.collectXray.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
+ //
|
|
|
+ // rangeChoose
|
|
|
+ //
|
|
|
+ this.rangeChoose.HeaderText = "可视化选择";
|
|
|
+ this.rangeChoose.Name = "rangeChoose";
|
|
|
+ this.rangeChoose.Text = "GrayLevel";
|
|
|
+ this.rangeChoose.UseColumnTextForButtonValue = true;
|
|
|
+ //
|
|
|
// SpecialParticleForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|