169 lines
7.1 KiB
C#
169 lines
7.1 KiB
C#
namespace CloudBuilder.CodeGenerator
|
|
{
|
|
partial class TemplateUserControl
|
|
{
|
|
/// <summary>
|
|
/// 設計工具所需的變數。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清除任何使用中的資源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果應該處置受控資源則為 true,否則為 false。</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region 元件設計工具產生的程式碼
|
|
|
|
/// <summary>
|
|
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改
|
|
/// 這個方法的內容。
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|
kryptonHeader1 = new Krypton.Toolkit.KryptonHeader();
|
|
tableLayoutPanel2 = new TableLayoutPanel();
|
|
templatePathBut = new Krypton.Toolkit.KryptonButton();
|
|
templatePathTxt = new Krypton.Toolkit.KryptonTextBox();
|
|
kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
|
contextTxt = new Krypton.Toolkit.KryptonRichTextBox();
|
|
saveFileBut = new Krypton.Toolkit.KryptonButton();
|
|
tableLayoutPanel1.SuspendLayout();
|
|
tableLayoutPanel2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.ColumnCount = 1;
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
tableLayoutPanel1.Controls.Add(kryptonHeader1, 0, 0);
|
|
tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 1);
|
|
tableLayoutPanel1.Controls.Add(contextTxt, 0, 2);
|
|
tableLayoutPanel1.Dock = DockStyle.Fill;
|
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
tableLayoutPanel1.RowCount = 3;
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 35F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle());
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
|
tableLayoutPanel1.Size = new Size(800, 600);
|
|
tableLayoutPanel1.TabIndex = 0;
|
|
//
|
|
// kryptonHeader1
|
|
//
|
|
tableLayoutPanel1.SetColumnSpan(kryptonHeader1, 4);
|
|
kryptonHeader1.Dock = DockStyle.Fill;
|
|
kryptonHeader1.Location = new Point(4, 4);
|
|
kryptonHeader1.Margin = new Padding(4);
|
|
kryptonHeader1.Name = "kryptonHeader1";
|
|
kryptonHeader1.Size = new Size(792, 27);
|
|
kryptonHeader1.TabIndex = 13;
|
|
kryptonHeader1.Values.Description = "";
|
|
kryptonHeader1.Values.Heading = "模板加載";
|
|
kryptonHeader1.Values.Image = null;
|
|
//
|
|
// tableLayoutPanel2
|
|
//
|
|
tableLayoutPanel2.AutoSize = true;
|
|
tableLayoutPanel2.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
tableLayoutPanel2.ColumnCount = 4;
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle());
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle());
|
|
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle());
|
|
tableLayoutPanel2.Controls.Add(templatePathBut, 0, 0);
|
|
tableLayoutPanel2.Controls.Add(templatePathTxt, 0, 0);
|
|
tableLayoutPanel2.Controls.Add(kryptonLabel1, 0, 0);
|
|
tableLayoutPanel2.Controls.Add(saveFileBut, 3, 0);
|
|
tableLayoutPanel2.Dock = DockStyle.Fill;
|
|
tableLayoutPanel2.Location = new Point(3, 38);
|
|
tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
tableLayoutPanel2.RowCount = 1;
|
|
tableLayoutPanel2.RowStyles.Add(new RowStyle());
|
|
tableLayoutPanel2.Size = new Size(794, 31);
|
|
tableLayoutPanel2.TabIndex = 14;
|
|
//
|
|
// templatePathBut
|
|
//
|
|
templatePathBut.AutoSize = true;
|
|
templatePathBut.Location = new Point(646, 4);
|
|
templatePathBut.Margin = new Padding(4);
|
|
templatePathBut.Name = "templatePathBut";
|
|
templatePathBut.Size = new Size(76, 22);
|
|
templatePathBut.TabIndex = 6;
|
|
templatePathBut.Values.Text = "选择文件(...)";
|
|
templatePathBut.Click += templatePathBut_Click;
|
|
//
|
|
// templatePathTxt
|
|
//
|
|
templatePathTxt.Dock = DockStyle.Fill;
|
|
templatePathTxt.Location = new Point(87, 4);
|
|
templatePathTxt.Margin = new Padding(4);
|
|
templatePathTxt.Name = "templatePathTxt";
|
|
templatePathTxt.Size = new Size(551, 23);
|
|
templatePathTxt.TabIndex = 5;
|
|
//
|
|
// kryptonLabel1
|
|
//
|
|
kryptonLabel1.Location = new Point(4, 6);
|
|
kryptonLabel1.Margin = new Padding(4, 6, 4, 4);
|
|
kryptonLabel1.Name = "kryptonLabel1";
|
|
kryptonLabel1.Size = new Size(75, 20);
|
|
kryptonLabel1.TabIndex = 1;
|
|
kryptonLabel1.Values.Text = "模板路径:";
|
|
//
|
|
// contextTxt
|
|
//
|
|
contextTxt.Dock = DockStyle.Fill;
|
|
contextTxt.Location = new Point(3, 75);
|
|
contextTxt.Name = "contextTxt";
|
|
contextTxt.Size = new Size(794, 522);
|
|
contextTxt.TabIndex = 15;
|
|
contextTxt.Text = "";
|
|
//
|
|
// saveFileBut
|
|
//
|
|
saveFileBut.AutoSize = true;
|
|
saveFileBut.Location = new Point(730, 4);
|
|
saveFileBut.Margin = new Padding(4);
|
|
saveFileBut.Name = "saveFileBut";
|
|
saveFileBut.Size = new Size(60, 22);
|
|
saveFileBut.TabIndex = 6;
|
|
saveFileBut.Values.Text = "保存文件";
|
|
saveFileBut.Click += saveFileBut_Click;
|
|
//
|
|
// TemplateUserControl
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
Controls.Add(tableLayoutPanel1);
|
|
Name = "TemplateUserControl";
|
|
Size = new Size(800, 600);
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
tableLayoutPanel1.PerformLayout();
|
|
tableLayoutPanel2.ResumeLayout(false);
|
|
tableLayoutPanel2.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TableLayoutPanel tableLayoutPanel1;
|
|
private Krypton.Toolkit.KryptonHeader kryptonHeader1;
|
|
private TableLayoutPanel tableLayoutPanel2;
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
|
private Krypton.Toolkit.KryptonTextBox templatePathTxt;
|
|
private Krypton.Toolkit.KryptonButton templatePathBut;
|
|
public Krypton.Toolkit.KryptonRichTextBox contextTxt;
|
|
private Krypton.Toolkit.KryptonButton saveFileBut;
|
|
}
|
|
}
|