368 lines
14 KiB
C#
368 lines
14 KiB
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace TemuKJD.KJDForms.SystemForms
|
|
{
|
|
partial class SystemGoodsComplianceForm
|
|
{
|
|
private GroupBox imagesGroup;
|
|
private Label mainLabel;
|
|
private ComboBox main;
|
|
private NumericUpDown mainCount;
|
|
private Label mainUnit;
|
|
private Label detailLabel;
|
|
private ComboBox detail;
|
|
private NumericUpDown detailCount;
|
|
private Label detailUnit;
|
|
private CheckBox sku;
|
|
private GroupBox keywordsGroup;
|
|
private TextBox keywords;
|
|
private Label keywordsHint;
|
|
private Button btnSaveDetection;
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.imagesGroup = new System.Windows.Forms.GroupBox();
|
|
this.mainLabel = new System.Windows.Forms.Label();
|
|
this.main = new System.Windows.Forms.ComboBox();
|
|
this.mainCount = new System.Windows.Forms.NumericUpDown();
|
|
this.mainUnit = new System.Windows.Forms.Label();
|
|
this.detailLabel = new System.Windows.Forms.Label();
|
|
this.detail = new System.Windows.Forms.ComboBox();
|
|
this.detailCount = new System.Windows.Forms.NumericUpDown();
|
|
this.detailUnit = new System.Windows.Forms.Label();
|
|
this.sku = new System.Windows.Forms.CheckBox();
|
|
this.keywordsGroup = new System.Windows.Forms.GroupBox();
|
|
this.keywords = new System.Windows.Forms.TextBox();
|
|
this.keywordsHint = new System.Windows.Forms.Label();
|
|
this.btnSaveDetection = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.num_points = new System.Windows.Forms.NumericUpDown();
|
|
this.lb_imagequtoa = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.btn_Exchange = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.imagesGroup.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.mainCount)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.detailCount)).BeginInit();
|
|
this.keywordsGroup.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_points)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// imagesGroup
|
|
//
|
|
this.imagesGroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.imagesGroup.Controls.Add(this.mainLabel);
|
|
this.imagesGroup.Controls.Add(this.main);
|
|
this.imagesGroup.Controls.Add(this.mainCount);
|
|
this.imagesGroup.Controls.Add(this.mainUnit);
|
|
this.imagesGroup.Controls.Add(this.detailLabel);
|
|
this.imagesGroup.Controls.Add(this.detail);
|
|
this.imagesGroup.Controls.Add(this.detailCount);
|
|
this.imagesGroup.Controls.Add(this.detailUnit);
|
|
this.imagesGroup.Controls.Add(this.sku);
|
|
this.imagesGroup.Location = new System.Drawing.Point(20, 71);
|
|
this.imagesGroup.Name = "imagesGroup";
|
|
this.imagesGroup.Size = new System.Drawing.Size(760, 153);
|
|
this.imagesGroup.TabIndex = 0;
|
|
this.imagesGroup.TabStop = false;
|
|
this.imagesGroup.Text = "检测图片";
|
|
//
|
|
// mainLabel
|
|
//
|
|
this.mainLabel.AutoSize = true;
|
|
this.mainLabel.Location = new System.Drawing.Point(16, 34);
|
|
this.mainLabel.Name = "mainLabel";
|
|
this.mainLabel.Size = new System.Drawing.Size(56, 17);
|
|
this.mainLabel.TabIndex = 0;
|
|
this.mainLabel.Text = "商品主图";
|
|
//
|
|
// main
|
|
//
|
|
this.main.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.main.Items.AddRange(new object[] {
|
|
"全部",
|
|
"前几张"});
|
|
this.main.Location = new System.Drawing.Point(106, 30);
|
|
this.main.Name = "main";
|
|
this.main.Size = new System.Drawing.Size(110, 25);
|
|
this.main.TabIndex = 1;
|
|
this.main.SelectedIndexChanged += new System.EventHandler(this.ImageRangeChanged);
|
|
//
|
|
// mainCount
|
|
//
|
|
this.mainCount.AccessibleName = "商品主图检测张数";
|
|
this.mainCount.Enabled = false;
|
|
this.mainCount.Location = new System.Drawing.Point(228, 30);
|
|
this.mainCount.Maximum = new decimal(new int[] {
|
|
999,
|
|
0,
|
|
0,
|
|
0});
|
|
this.mainCount.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.mainCount.Name = "mainCount";
|
|
this.mainCount.Size = new System.Drawing.Size(60, 23);
|
|
this.mainCount.TabIndex = 2;
|
|
this.mainCount.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// mainUnit
|
|
//
|
|
this.mainUnit.AutoSize = true;
|
|
this.mainUnit.Location = new System.Drawing.Point(294, 34);
|
|
this.mainUnit.Name = "mainUnit";
|
|
this.mainUnit.Size = new System.Drawing.Size(20, 17);
|
|
this.mainUnit.TabIndex = 3;
|
|
this.mainUnit.Text = "张";
|
|
//
|
|
// detailLabel
|
|
//
|
|
this.detailLabel.AutoSize = true;
|
|
this.detailLabel.Location = new System.Drawing.Point(16, 72);
|
|
this.detailLabel.Name = "detailLabel";
|
|
this.detailLabel.Size = new System.Drawing.Size(44, 17);
|
|
this.detailLabel.TabIndex = 4;
|
|
this.detailLabel.Text = "详情图";
|
|
//
|
|
// detail
|
|
//
|
|
this.detail.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.detail.Items.AddRange(new object[] {
|
|
"不检测",
|
|
"前几张",
|
|
"全部"});
|
|
this.detail.Location = new System.Drawing.Point(106, 68);
|
|
this.detail.Name = "detail";
|
|
this.detail.Size = new System.Drawing.Size(110, 25);
|
|
this.detail.TabIndex = 5;
|
|
this.detail.SelectedIndexChanged += new System.EventHandler(this.ImageRangeChanged);
|
|
//
|
|
// detailCount
|
|
//
|
|
this.detailCount.AccessibleName = "详情图检测张数";
|
|
this.detailCount.Enabled = false;
|
|
this.detailCount.Location = new System.Drawing.Point(228, 68);
|
|
this.detailCount.Maximum = new decimal(new int[] {
|
|
999,
|
|
0,
|
|
0,
|
|
0});
|
|
this.detailCount.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.detailCount.Name = "detailCount";
|
|
this.detailCount.Size = new System.Drawing.Size(60, 23);
|
|
this.detailCount.TabIndex = 6;
|
|
this.detailCount.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// detailUnit
|
|
//
|
|
this.detailUnit.AutoSize = true;
|
|
this.detailUnit.Location = new System.Drawing.Point(294, 72);
|
|
this.detailUnit.Name = "detailUnit";
|
|
this.detailUnit.Size = new System.Drawing.Size(20, 17);
|
|
this.detailUnit.TabIndex = 7;
|
|
this.detailUnit.Text = "张";
|
|
//
|
|
// sku
|
|
//
|
|
this.sku.AutoSize = true;
|
|
this.sku.Location = new System.Drawing.Point(106, 112);
|
|
this.sku.Name = "sku";
|
|
this.sku.Size = new System.Drawing.Size(107, 21);
|
|
this.sku.TabIndex = 8;
|
|
this.sku.Text = "检测 SKU 图片";
|
|
//
|
|
// keywordsGroup
|
|
//
|
|
this.keywordsGroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.keywordsGroup.Controls.Add(this.keywords);
|
|
this.keywordsGroup.Controls.Add(this.keywordsHint);
|
|
this.keywordsGroup.Location = new System.Drawing.Point(20, 238);
|
|
this.keywordsGroup.Name = "keywordsGroup";
|
|
this.keywordsGroup.Size = new System.Drawing.Size(760, 143);
|
|
this.keywordsGroup.TabIndex = 1;
|
|
this.keywordsGroup.TabStop = false;
|
|
this.keywordsGroup.Text = "检测关键词";
|
|
//
|
|
// keywords
|
|
//
|
|
this.keywords.AcceptsReturn = true;
|
|
this.keywords.AccessibleName = "检测关键词";
|
|
this.keywords.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.keywords.Location = new System.Drawing.Point(16, 27);
|
|
this.keywords.Multiline = true;
|
|
this.keywords.Name = "keywords";
|
|
this.keywords.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.keywords.Size = new System.Drawing.Size(728, 68);
|
|
this.keywords.TabIndex = 0;
|
|
//
|
|
// keywordsHint
|
|
//
|
|
this.keywordsHint.AutoSize = true;
|
|
this.keywordsHint.ForeColor = System.Drawing.SystemColors.GrayText;
|
|
this.keywordsHint.Location = new System.Drawing.Point(16, 105);
|
|
this.keywordsHint.Name = "keywordsHint";
|
|
this.keywordsHint.Size = new System.Drawing.Size(260, 17);
|
|
this.keywordsHint.TabIndex = 1;
|
|
this.keywordsHint.Text = "多个关键词可用逗号、分号、空格或换行分隔。";
|
|
//
|
|
// btnSaveDetection
|
|
//
|
|
this.btnSaveDetection.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
|
this.btnSaveDetection.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnSaveDetection.FlatAppearance.BorderSize = 0;
|
|
this.btnSaveDetection.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnSaveDetection.ForeColor = System.Drawing.Color.White;
|
|
this.btnSaveDetection.Location = new System.Drawing.Point(20, 396);
|
|
this.btnSaveDetection.Name = "btnSaveDetection";
|
|
this.btnSaveDetection.Size = new System.Drawing.Size(96, 32);
|
|
this.btnSaveDetection.TabIndex = 2;
|
|
this.btnSaveDetection.Text = "保存条件";
|
|
this.btnSaveDetection.UseVisualStyleBackColor = false;
|
|
this.btnSaveDetection.Click += new System.EventHandler(this.SaveDetectionClick);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.btn_Exchange);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.num_points);
|
|
this.groupBox1.Controls.Add(this.lb_imagequtoa);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(20, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(760, 53);
|
|
this.groupBox1.TabIndex = 3;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "积分兑换";
|
|
//
|
|
// num_points
|
|
//
|
|
this.num_points.Location = new System.Drawing.Point(269, 20);
|
|
this.num_points.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.num_points.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.num_points.Name = "num_points";
|
|
this.num_points.Size = new System.Drawing.Size(120, 23);
|
|
this.num_points.TabIndex = 2;
|
|
this.num_points.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// lb_imagequtoa
|
|
//
|
|
this.lb_imagequtoa.AutoSize = true;
|
|
this.lb_imagequtoa.Location = new System.Drawing.Point(130, 23);
|
|
this.lb_imagequtoa.Name = "lb_imagequtoa";
|
|
this.lb_imagequtoa.Size = new System.Drawing.Size(50, 17);
|
|
this.lb_imagequtoa.TabIndex = 1;
|
|
this.lb_imagequtoa.Text = "999999";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(65, 23);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(68, 17);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "检测图片:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(195, 23);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(56, 17);
|
|
this.label3.TabIndex = 3;
|
|
this.label3.Text = "积分兑换";
|
|
//
|
|
// btn_Exchange
|
|
//
|
|
this.btn_Exchange.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
|
this.btn_Exchange.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btn_Exchange.FlatAppearance.BorderSize = 0;
|
|
this.btn_Exchange.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btn_Exchange.ForeColor = System.Drawing.Color.White;
|
|
this.btn_Exchange.Location = new System.Drawing.Point(395, 19);
|
|
this.btn_Exchange.Name = "btn_Exchange";
|
|
this.btn_Exchange.Size = new System.Drawing.Size(68, 24);
|
|
this.btn_Exchange.TabIndex = 4;
|
|
this.btn_Exchange.Text = "兑换";
|
|
this.btn_Exchange.UseVisualStyleBackColor = false;
|
|
this.btn_Exchange.Click += new System.EventHandler(this.btn_Exchange_Click);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.ForeColor = System.Drawing.SystemColors.ControlDark;
|
|
this.label4.Location = new System.Drawing.Point(478, 23);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(165, 17);
|
|
this.label4.TabIndex = 5;
|
|
this.label4.Text = "兑换比例:1积分=100张图片";
|
|
//
|
|
// SystemGoodsComplianceForm
|
|
//
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.AutoScroll = true;
|
|
this.AutoScrollMinSize = new System.Drawing.Size(365, 390);
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.imagesGroup);
|
|
this.Controls.Add(this.keywordsGroup);
|
|
this.Controls.Add(this.btnSaveDetection);
|
|
this.Font = new System.Drawing.Font("微软雅黑", 9F);
|
|
this.Name = "SystemGoodsComplianceForm";
|
|
this.Text = "商品 AI 检测";
|
|
this.imagesGroup.ResumeLayout(false);
|
|
this.imagesGroup.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.mainCount)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.detailCount)).EndInit();
|
|
this.keywordsGroup.ResumeLayout(false);
|
|
this.keywordsGroup.PerformLayout();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.num_points)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
private GroupBox groupBox1;
|
|
private NumericUpDown num_points;
|
|
private Label lb_imagequtoa;
|
|
private Label label1;
|
|
private Label label4;
|
|
private Button btn_Exchange;
|
|
private Label label3;
|
|
}
|
|
}
|