171 lines
7.5 KiB
C#
171 lines
7.5 KiB
C#
namespace Check.Main.UI
|
|
{
|
|
partial class FrmConfig
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmConfig));
|
|
propertyGrid1 = new PropertyGrid();
|
|
toolStrip1 = new ToolStrip();
|
|
toolBtnApply = new ToolStripButton();
|
|
toolBtnAddProduct = new ToolStripButton();
|
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|
uiLabel1 = new Sunny.UI.UILabel();
|
|
cmbProducts = new Sunny.UI.UIComboBox();
|
|
toolBtnDeleteProduct = new ToolStripButton();
|
|
toolStrip1.SuspendLayout();
|
|
tableLayoutPanel1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// propertyGrid1
|
|
//
|
|
tableLayoutPanel1.SetColumnSpan(propertyGrid1, 2);
|
|
propertyGrid1.Dock = DockStyle.Fill;
|
|
propertyGrid1.Location = new Point(3, 70);
|
|
propertyGrid1.Name = "propertyGrid1";
|
|
propertyGrid1.Size = new Size(417, 345);
|
|
propertyGrid1.TabIndex = 0;
|
|
//
|
|
// toolStrip1
|
|
//
|
|
tableLayoutPanel1.SetColumnSpan(toolStrip1, 2);
|
|
toolStrip1.Dock = DockStyle.Fill;
|
|
toolStrip1.Items.AddRange(new ToolStripItem[] { toolBtnApply, toolBtnAddProduct, toolBtnDeleteProduct });
|
|
toolStrip1.Location = new Point(0, 0);
|
|
toolStrip1.Name = "toolStrip1";
|
|
toolStrip1.Size = new Size(423, 28);
|
|
toolStrip1.TabIndex = 1;
|
|
toolStrip1.Text = "toolStrip1";
|
|
//
|
|
// toolBtnApply
|
|
//
|
|
toolBtnApply.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
toolBtnApply.Image = (Image)resources.GetObject("toolBtnApply.Image");
|
|
toolBtnApply.ImageTransparentColor = Color.Magenta;
|
|
toolBtnApply.Name = "toolBtnApply";
|
|
toolBtnApply.Size = new Size(60, 25);
|
|
toolBtnApply.Text = "应用配置";
|
|
toolBtnApply.Click += toolBtnApply_Click;
|
|
//
|
|
// toolBtnAddProduct
|
|
//
|
|
toolBtnAddProduct.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
toolBtnAddProduct.Image = (Image)resources.GetObject("toolBtnAddProduct.Image");
|
|
toolBtnAddProduct.ImageTransparentColor = Color.Magenta;
|
|
toolBtnAddProduct.Name = "toolBtnAddProduct";
|
|
toolBtnAddProduct.Size = new Size(60, 25);
|
|
toolBtnAddProduct.Text = "添加产品";
|
|
toolBtnAddProduct.Click += toolBtnAddProduct_Click;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.ColumnCount = 2;
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 23.4042549F));
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 76.59574F));
|
|
tableLayoutPanel1.Controls.Add(propertyGrid1, 0, 2);
|
|
tableLayoutPanel1.Controls.Add(toolStrip1, 0, 0);
|
|
tableLayoutPanel1.Controls.Add(uiLabel1, 0, 1);
|
|
tableLayoutPanel1.Controls.Add(cmbProducts, 1, 1);
|
|
tableLayoutPanel1.Dock = DockStyle.Fill;
|
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
tableLayoutPanel1.RowCount = 3;
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 6.69856453F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 9.330144F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 83.97129F));
|
|
tableLayoutPanel1.Size = new Size(423, 418);
|
|
tableLayoutPanel1.TabIndex = 2;
|
|
//
|
|
// uiLabel1
|
|
//
|
|
uiLabel1.Dock = DockStyle.Fill;
|
|
uiLabel1.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
uiLabel1.ForeColor = Color.FromArgb(48, 48, 48);
|
|
uiLabel1.Location = new Point(3, 28);
|
|
uiLabel1.Name = "uiLabel1";
|
|
uiLabel1.Size = new Size(93, 39);
|
|
uiLabel1.TabIndex = 2;
|
|
uiLabel1.Text = "当前产品";
|
|
uiLabel1.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// cmbProducts
|
|
//
|
|
cmbProducts.DataSource = null;
|
|
cmbProducts.Dock = DockStyle.Left;
|
|
cmbProducts.FillColor = Color.White;
|
|
cmbProducts.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
|
cmbProducts.ItemHoverColor = Color.FromArgb(155, 200, 255);
|
|
cmbProducts.ItemSelectForeColor = Color.FromArgb(235, 243, 255);
|
|
cmbProducts.Location = new Point(103, 33);
|
|
cmbProducts.Margin = new Padding(4, 5, 4, 5);
|
|
cmbProducts.MinimumSize = new Size(63, 0);
|
|
cmbProducts.Name = "cmbProducts";
|
|
cmbProducts.Padding = new Padding(0, 0, 30, 2);
|
|
cmbProducts.Size = new Size(225, 29);
|
|
cmbProducts.SymbolSize = 24;
|
|
cmbProducts.TabIndex = 3;
|
|
cmbProducts.TextAlignment = ContentAlignment.MiddleLeft;
|
|
cmbProducts.Watermark = "";
|
|
cmbProducts.SelectedIndexChanged += cmbProducts_SelectedIndexChanged;
|
|
//
|
|
// toolBtnDeleteProduct
|
|
//
|
|
toolBtnDeleteProduct.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
toolBtnDeleteProduct.Image = (Image)resources.GetObject("toolBtnDeleteProduct.Image");
|
|
toolBtnDeleteProduct.ImageTransparentColor = Color.Magenta;
|
|
toolBtnDeleteProduct.Name = "toolBtnDeleteProduct";
|
|
toolBtnDeleteProduct.Size = new Size(60, 25);
|
|
toolBtnDeleteProduct.Text = "删除产品";
|
|
toolBtnDeleteProduct.Click += toolBtnDeleteProduct_Click;
|
|
//
|
|
// FrmConfig
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(423, 418);
|
|
Controls.Add(tableLayoutPanel1);
|
|
Name = "FrmConfig";
|
|
Text = "属性配置";
|
|
toolStrip1.ResumeLayout(false);
|
|
toolStrip1.PerformLayout();
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
tableLayoutPanel1.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PropertyGrid propertyGrid1;
|
|
private ToolStrip toolStrip1;
|
|
private ToolStripButton toolBtnApply;
|
|
private TableLayoutPanel tableLayoutPanel1;
|
|
private ToolStripButton toolBtnAddProduct;
|
|
private Sunny.UI.UILabel uiLabel1;
|
|
private Sunny.UI.UIComboBox cmbProducts;
|
|
private ToolStripButton toolBtnDeleteProduct;
|
|
}
|
|
} |