using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PaintDotNet.DedicatedAnalysis.GrainSize.GBT6394_2017 { public partial class GrainBinaryEditingDialog : Form { private GroupBox groupBox1; private GroupBox groupBox2; private GroupBox groupBox3; private GroupBox groupBox4; private Button button2; private Button button1; private Button button3; private Button button4; private TextBox textBox1; private Label label1; private CustomControl.TriangleTrackBar trackBar2; private Button button8; private Button button7; private Button button6; private Button button5; private Panel panel1; private RadioButton radioButton4; private RadioButton radioButton3; private RadioButton radioButton2; private RadioButton radioButton1; private Label label2; private Label label3; private Label label4; private Panel panel2; private RadioButton radioButton6; private RadioButton radioButton5; private CustomControl.TriangleTrackBar triangleTrackBar1; private GroupBox groupBox5; public GrainBinaryEditingDialog() { InitializeComponent(); } private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.trackBar2 = new PaintDotNet.CustomControl.TriangleTrackBar(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.button4 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.button8 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); this.radioButton6 = new System.Windows.Forms.RadioButton(); this.radioButton5 = new System.Windows.Forms.RadioButton(); this.triangleTrackBar1 = new PaintDotNet.CustomControl.TriangleTrackBar(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.radioButton4 = new System.Windows.Forms.RadioButton(); this.radioButton3 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.label2 = new System.Windows.Forms.Label(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Location = new System.Drawing.Point(12, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(808, 45); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; // // button2 // this.button2.Location = new System.Drawing.Point(694, 13); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(91, 26); this.button2.TabIndex = 1; this.button2.Text = "关闭"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.Location = new System.Drawing.Point(582, 13); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(91, 26); this.button1.TabIndex = 0; this.button1.Text = "确定"; this.button1.UseVisualStyleBackColor = true; // // groupBox2 // this.groupBox2.Controls.Add(this.trackBar2); this.groupBox2.Controls.Add(this.textBox1); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.button4); this.groupBox2.Controls.Add(this.button3); this.groupBox2.Location = new System.Drawing.Point(12, 63); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(233, 106); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "添加晶界"; // // trackBar2 // this.trackBar2.Location = new System.Drawing.Point(106, 69); this.trackBar2.Maximum = 10000; this.trackBar2.Minimum = 0; this.trackBar2.Name = "trackBar2"; this.trackBar2.Size = new System.Drawing.Size(102, 24); this.trackBar2.TabIndex = 17; this.trackBar2.Value = 0; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(66, 69); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(32, 21); this.textBox1.TabIndex = 5; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(26, 73); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(41, 12); this.label1.TabIndex = 4; this.label1.Text = "线宽:"; // // button4 // this.button4.Location = new System.Drawing.Point(135, 18); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(73, 26); this.button4.TabIndex = 3; this.button4.Text = "直线添加"; this.button4.UseVisualStyleBackColor = true; // // button3 // this.button3.Location = new System.Drawing.Point(28, 18); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(73, 26); this.button3.TabIndex = 2; this.button3.Text = "曲线添加"; this.button3.UseVisualStyleBackColor = true; // // groupBox3 // this.groupBox3.Controls.Add(this.button8); this.groupBox3.Controls.Add(this.button7); this.groupBox3.Controls.Add(this.button6); this.groupBox3.Controls.Add(this.button5); this.groupBox3.Location = new System.Drawing.Point(12, 175); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(233, 106); this.groupBox3.TabIndex = 1; this.groupBox3.TabStop = false; this.groupBox3.Text = "删除晶界"; // // button8 // this.button8.Location = new System.Drawing.Point(135, 68); this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(73, 26); this.button8.TabIndex = 7; this.button8.Text = "椭圆删除"; this.button8.UseVisualStyleBackColor = true; // // button7 // this.button7.Location = new System.Drawing.Point(28, 68); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(73, 26); this.button7.TabIndex = 6; this.button7.Text = "矩形删除"; this.button7.UseVisualStyleBackColor = true; // // button6 // this.button6.Location = new System.Drawing.Point(135, 24); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(73, 26); this.button6.TabIndex = 5; this.button6.Text = "圆形删除"; this.button6.UseVisualStyleBackColor = true; // // button5 // this.button5.Location = new System.Drawing.Point(28, 24); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(73, 26); this.button5.TabIndex = 4; this.button5.Text = "多边形删除"; this.button5.UseVisualStyleBackColor = true; // // groupBox4 // this.groupBox4.Controls.Add(this.panel2); this.groupBox4.Controls.Add(this.triangleTrackBar1); this.groupBox4.Controls.Add(this.label4); this.groupBox4.Controls.Add(this.label3); this.groupBox4.Controls.Add(this.panel1); this.groupBox4.Controls.Add(this.label2); this.groupBox4.Location = new System.Drawing.Point(12, 287); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(233, 278); this.groupBox4.TabIndex = 1; this.groupBox4.TabStop = false; this.groupBox4.Text = "颗粒筛选"; // // panel2 // this.panel2.Controls.Add(this.radioButton6); this.panel2.Controls.Add(this.radioButton5); this.panel2.Location = new System.Drawing.Point(66, 201); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(127, 30); this.panel2.TabIndex = 19; // // radioButton6 // this.radioButton6.AutoSize = true; this.radioButton6.Location = new System.Drawing.Point(60, 7); this.radioButton6.Name = "radioButton6"; this.radioButton6.Size = new System.Drawing.Size(47, 16); this.radioButton6.TabIndex = 2; this.radioButton6.TabStop = true; this.radioButton6.Text = "像素"; this.radioButton6.UseVisualStyleBackColor = true; // // radioButton5 // this.radioButton5.AutoSize = true; this.radioButton5.Location = new System.Drawing.Point(7, 7); this.radioButton5.Name = "radioButton5"; this.radioButton5.Size = new System.Drawing.Size(47, 16); this.radioButton5.TabIndex = 1; this.radioButton5.TabStop = true; this.radioButton5.Text = "微米"; this.radioButton5.UseVisualStyleBackColor = true; // // triangleTrackBar1 // this.triangleTrackBar1.Location = new System.Drawing.Point(66, 164); this.triangleTrackBar1.Maximum = 10000; this.triangleTrackBar1.Minimum = 0; this.triangleTrackBar1.Name = "triangleTrackBar1"; this.triangleTrackBar1.Size = new System.Drawing.Size(102, 24); this.triangleTrackBar1.TabIndex = 18; this.triangleTrackBar1.Value = 0; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(9, 208); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(65, 12); this.label4.TabIndex = 3; this.label4.Text = "筛选单位:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(33, 168); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(41, 12); this.label3.TabIndex = 2; this.label3.Text = "范围:"; // // panel1 // this.panel1.Controls.Add(this.radioButton4); this.panel1.Controls.Add(this.radioButton3); this.panel1.Controls.Add(this.radioButton2); this.panel1.Controls.Add(this.radioButton1); this.panel1.Location = new System.Drawing.Point(66, 28); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(121, 122); this.panel1.TabIndex = 1; // // radioButton4 // this.radioButton4.AutoSize = true; this.radioButton4.Location = new System.Drawing.Point(13, 97); this.radioButton4.Name = "radioButton4"; this.radioButton4.Size = new System.Drawing.Size(59, 16); this.radioButton4.TabIndex = 3; this.radioButton4.TabStop = true; this.radioButton4.Text = "宽高比"; this.radioButton4.UseVisualStyleBackColor = true; // // radioButton3 // this.radioButton3.AutoSize = true; this.radioButton3.Location = new System.Drawing.Point(13, 67); this.radioButton3.Name = "radioButton3"; this.radioButton3.Size = new System.Drawing.Size(95, 16); this.radioButton3.TabIndex = 2; this.radioButton3.TabStop = true; this.radioButton3.Text = "最大卡规直径"; this.radioButton3.UseVisualStyleBackColor = true; // // radioButton2 // this.radioButton2.AutoSize = true; this.radioButton2.Location = new System.Drawing.Point(13, 37); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(59, 16); this.radioButton2.TabIndex = 1; this.radioButton2.TabStop = true; this.radioButton2.Text = "面积比"; this.radioButton2.UseVisualStyleBackColor = true; // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Location = new System.Drawing.Point(13, 7); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(47, 16); this.radioButton1.TabIndex = 0; this.radioButton1.TabStop = true; this.radioButton1.Text = "面积"; this.radioButton1.UseVisualStyleBackColor = true; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(9, 35); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 12); this.label2.TabIndex = 0; this.label2.Text = "筛选参数:"; // // groupBox5 // this.groupBox5.Location = new System.Drawing.Point(251, 63); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(569, 502); this.groupBox5.TabIndex = 1; this.groupBox5.TabStop = false; this.groupBox5.Text = "预览"; // // GrainBinaryEditingDialog // this.ClientSize = new System.Drawing.Size(832, 577); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox5); this.Controls.Add(this.groupBox1); this.Name = "GrainBinaryEditingDialog"; this.Text = "筛选"; this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); } private void button2_Click(object sender, EventArgs e) { this.Close(); } } }