378 lines
17 KiB
C#
378 lines
17 KiB
C#
namespace McBitFont {
|
|
partial class Export {
|
|
/// <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() {
|
|
this.components = new System.ComponentModel.Container();
|
|
this.txtOutput = new System.Windows.Forms.RichTextBox();
|
|
this.gbScan = new System.Windows.Forms.GroupBox();
|
|
this.cbVDir = new System.Windows.Forms.ComboBox();
|
|
this.cbHDir = new System.Windows.Forms.ComboBox();
|
|
this.cbOrder = new System.Windows.Forms.ComboBox();
|
|
this.gbOptions = new System.Windows.Forms.GroupBox();
|
|
this.cbZeroes = new System.Windows.Forms.CheckBox();
|
|
this.cbHeader = new System.Windows.Forms.CheckBox();
|
|
this.cbComments = new System.Windows.Forms.CheckBox();
|
|
this.gbNumbers = new System.Windows.Forms.GroupBox();
|
|
this.cbBitOrder = new System.Windows.Forms.ComboBox();
|
|
this.cbNumSize = new System.Windows.Forms.ComboBox();
|
|
this.cbNumBase = new System.Windows.Forms.ComboBox();
|
|
this.gbText = new System.Windows.Forms.GroupBox();
|
|
this.lblXLines = new System.Windows.Forms.Label();
|
|
this.nudXLines = new System.Windows.Forms.NumericUpDown();
|
|
this.cbLines = new System.Windows.Forms.ComboBox();
|
|
this.cbFormat = new System.Windows.Forms.ComboBox();
|
|
this.btnGenerate = new System.Windows.Forms.Button();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
|
this.gbScan.SuspendLayout();
|
|
this.gbOptions.SuspendLayout();
|
|
this.gbNumbers.SuspendLayout();
|
|
this.gbText.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudXLines)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtOutput
|
|
//
|
|
this.txtOutput.AcceptsTab = true;
|
|
this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.txtOutput.AutoWordSelection = true;
|
|
this.txtOutput.DetectUrls = false;
|
|
this.txtOutput.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.txtOutput.HideSelection = false;
|
|
this.txtOutput.Location = new System.Drawing.Point(151, 12);
|
|
this.txtOutput.Name = "txtOutput";
|
|
this.txtOutput.Size = new System.Drawing.Size(529, 507);
|
|
this.txtOutput.TabIndex = 0;
|
|
this.txtOutput.Text = "";
|
|
this.txtOutput.WordWrap = false;
|
|
//
|
|
// gbScan
|
|
//
|
|
this.gbScan.Controls.Add(this.cbVDir);
|
|
this.gbScan.Controls.Add(this.cbHDir);
|
|
this.gbScan.Controls.Add(this.cbOrder);
|
|
this.gbScan.Location = new System.Drawing.Point(5, 12);
|
|
this.gbScan.Name = "gbScan";
|
|
this.gbScan.Size = new System.Drawing.Size(140, 105);
|
|
this.gbScan.TabIndex = 1;
|
|
this.gbScan.TabStop = false;
|
|
this.gbScan.Text = "Scan";
|
|
//
|
|
// cbVDir
|
|
//
|
|
this.cbVDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbVDir.FormattingEnabled = true;
|
|
this.cbVDir.Items.AddRange(new object[] {
|
|
"Top to Bottom",
|
|
"Bottom to Top"});
|
|
this.cbVDir.Location = new System.Drawing.Point(10, 73);
|
|
this.cbVDir.Name = "cbVDir";
|
|
this.cbVDir.Size = new System.Drawing.Size(121, 21);
|
|
this.cbVDir.TabIndex = 2;
|
|
//
|
|
// cbHDir
|
|
//
|
|
this.cbHDir.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbHDir.FormattingEnabled = true;
|
|
this.cbHDir.Items.AddRange(new object[] {
|
|
"Left to Right",
|
|
"Right to Left"});
|
|
this.cbHDir.Location = new System.Drawing.Point(10, 46);
|
|
this.cbHDir.Name = "cbHDir";
|
|
this.cbHDir.Size = new System.Drawing.Size(121, 21);
|
|
this.cbHDir.TabIndex = 1;
|
|
//
|
|
// cbOrder
|
|
//
|
|
this.cbOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbOrder.FormattingEnabled = true;
|
|
this.cbOrder.Items.AddRange(new object[] {
|
|
"Columns",
|
|
"Rows"});
|
|
this.cbOrder.Location = new System.Drawing.Point(10, 19);
|
|
this.cbOrder.Name = "cbOrder";
|
|
this.cbOrder.Size = new System.Drawing.Size(121, 21);
|
|
this.cbOrder.TabIndex = 0;
|
|
this.cbOrder.SelectedIndexChanged += new System.EventHandler(this.cbOrder_SelectedIndexChanged);
|
|
//
|
|
// gbOptions
|
|
//
|
|
this.gbOptions.Controls.Add(this.cbZeroes);
|
|
this.gbOptions.Controls.Add(this.cbHeader);
|
|
this.gbOptions.Controls.Add(this.cbComments);
|
|
this.gbOptions.Location = new System.Drawing.Point(5, 345);
|
|
this.gbOptions.Name = "gbOptions";
|
|
this.gbOptions.Size = new System.Drawing.Size(140, 88);
|
|
this.gbOptions.TabIndex = 3;
|
|
this.gbOptions.TabStop = false;
|
|
this.gbOptions.Text = "Options";
|
|
//
|
|
// cbZeroes
|
|
//
|
|
this.cbZeroes.AutoSize = true;
|
|
this.cbZeroes.Checked = true;
|
|
this.cbZeroes.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.cbZeroes.Location = new System.Drawing.Point(6, 65);
|
|
this.cbZeroes.Name = "cbZeroes";
|
|
this.cbZeroes.Size = new System.Drawing.Size(98, 17);
|
|
this.cbZeroes.TabIndex = 2;
|
|
this.cbZeroes.Text = "Leading zeroes";
|
|
this.toolTip1.SetToolTip(this.cbZeroes, "Add leading zeroes: 0x01 / 0x1");
|
|
this.cbZeroes.UseVisualStyleBackColor = true;
|
|
//
|
|
// cbHeader
|
|
//
|
|
this.cbHeader.AutoSize = true;
|
|
this.cbHeader.Checked = true;
|
|
this.cbHeader.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.cbHeader.Location = new System.Drawing.Point(6, 19);
|
|
this.cbHeader.Name = "cbHeader";
|
|
this.cbHeader.Size = new System.Drawing.Size(86, 17);
|
|
this.cbHeader.TabIndex = 1;
|
|
this.cbHeader.Text = "Meta header";
|
|
this.toolTip1.SetToolTip(this.cbHeader, "Add meta header with meta data");
|
|
this.cbHeader.UseVisualStyleBackColor = true;
|
|
this.cbHeader.CheckedChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged);
|
|
//
|
|
// cbComments
|
|
//
|
|
this.cbComments.AutoSize = true;
|
|
this.cbComments.Checked = true;
|
|
this.cbComments.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.cbComments.Location = new System.Drawing.Point(6, 42);
|
|
this.cbComments.Name = "cbComments";
|
|
this.cbComments.Size = new System.Drawing.Size(75, 17);
|
|
this.cbComments.TabIndex = 0;
|
|
this.cbComments.Text = "Comments";
|
|
this.toolTip1.SetToolTip(this.cbComments, "Add descriptive comments");
|
|
this.cbComments.UseVisualStyleBackColor = true;
|
|
//
|
|
// gbNumbers
|
|
//
|
|
this.gbNumbers.Controls.Add(this.cbBitOrder);
|
|
this.gbNumbers.Controls.Add(this.cbNumSize);
|
|
this.gbNumbers.Controls.Add(this.cbNumBase);
|
|
this.gbNumbers.Location = new System.Drawing.Point(5, 123);
|
|
this.gbNumbers.Name = "gbNumbers";
|
|
this.gbNumbers.Size = new System.Drawing.Size(140, 105);
|
|
this.gbNumbers.TabIndex = 4;
|
|
this.gbNumbers.TabStop = false;
|
|
this.gbNumbers.Text = "Numbers";
|
|
//
|
|
// cbBitOrder
|
|
//
|
|
this.cbBitOrder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbBitOrder.FormattingEnabled = true;
|
|
this.cbBitOrder.Items.AddRange(new object[] {
|
|
"LSB Top",
|
|
"MSB Top"});
|
|
this.cbBitOrder.Location = new System.Drawing.Point(10, 19);
|
|
this.cbBitOrder.Name = "cbBitOrder";
|
|
this.cbBitOrder.Size = new System.Drawing.Size(121, 21);
|
|
this.cbBitOrder.TabIndex = 5;
|
|
//
|
|
// cbNumSize
|
|
//
|
|
this.cbNumSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbNumSize.FormattingEnabled = true;
|
|
this.cbNumSize.Items.AddRange(new object[] {
|
|
"8 bit",
|
|
"16 bit",
|
|
"32 bit"});
|
|
this.cbNumSize.Location = new System.Drawing.Point(10, 73);
|
|
this.cbNumSize.Name = "cbNumSize";
|
|
this.cbNumSize.Size = new System.Drawing.Size(121, 21);
|
|
this.cbNumSize.TabIndex = 4;
|
|
//
|
|
// cbNumBase
|
|
//
|
|
this.cbNumBase.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbNumBase.FormattingEnabled = true;
|
|
this.cbNumBase.Items.AddRange(new object[] {
|
|
"Hexadecimal",
|
|
"Binary",
|
|
"Decimal"});
|
|
this.cbNumBase.Location = new System.Drawing.Point(10, 46);
|
|
this.cbNumBase.Name = "cbNumBase";
|
|
this.cbNumBase.Size = new System.Drawing.Size(121, 21);
|
|
this.cbNumBase.TabIndex = 3;
|
|
//
|
|
// gbText
|
|
//
|
|
this.gbText.Controls.Add(this.lblXLines);
|
|
this.gbText.Controls.Add(this.nudXLines);
|
|
this.gbText.Controls.Add(this.cbLines);
|
|
this.gbText.Controls.Add(this.cbFormat);
|
|
this.gbText.Location = new System.Drawing.Point(5, 234);
|
|
this.gbText.Name = "gbText";
|
|
this.gbText.Size = new System.Drawing.Size(140, 105);
|
|
this.gbText.TabIndex = 5;
|
|
this.gbText.TabStop = false;
|
|
this.gbText.Text = "Text format";
|
|
//
|
|
// lblXLines
|
|
//
|
|
this.lblXLines.AutoSize = true;
|
|
this.lblXLines.Enabled = false;
|
|
this.lblXLines.Location = new System.Drawing.Point(10, 76);
|
|
this.lblXLines.Name = "lblXLines";
|
|
this.lblXLines.Size = new System.Drawing.Size(60, 13);
|
|
this.lblXLines.TabIndex = 9;
|
|
this.lblXLines.Text = "X numbers:";
|
|
//
|
|
// nudXLines
|
|
//
|
|
this.nudXLines.Enabled = false;
|
|
this.nudXLines.Location = new System.Drawing.Point(76, 73);
|
|
this.nudXLines.Maximum = new decimal(new int[] {
|
|
64,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudXLines.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudXLines.Name = "nudXLines";
|
|
this.nudXLines.Size = new System.Drawing.Size(55, 20);
|
|
this.nudXLines.TabIndex = 8;
|
|
this.nudXLines.Value = new decimal(new int[] {
|
|
8,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// cbLines
|
|
//
|
|
this.cbLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbLines.FormattingEnabled = true;
|
|
this.cbLines.Items.AddRange(new object[] {
|
|
"1 Column per line",
|
|
"1 Symbol per line",
|
|
"X Numbers per line"});
|
|
this.cbLines.Location = new System.Drawing.Point(10, 46);
|
|
this.cbLines.Name = "cbLines";
|
|
this.cbLines.Size = new System.Drawing.Size(121, 21);
|
|
this.cbLines.TabIndex = 7;
|
|
this.cbLines.SelectedIndexChanged += new System.EventHandler(this.cbLines_SelectedIndexChanged);
|
|
//
|
|
// cbFormat
|
|
//
|
|
this.cbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbFormat.FormattingEnabled = true;
|
|
this.cbFormat.Items.AddRange(new object[] {
|
|
"1D C array",
|
|
"2D C array",
|
|
"Comma separated"});
|
|
this.cbFormat.Location = new System.Drawing.Point(10, 19);
|
|
this.cbFormat.Name = "cbFormat";
|
|
this.cbFormat.Size = new System.Drawing.Size(121, 21);
|
|
this.cbFormat.TabIndex = 6;
|
|
this.cbFormat.SelectedIndexChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged);
|
|
//
|
|
// btnGenerate
|
|
//
|
|
this.btnGenerate.Location = new System.Drawing.Point(5, 439);
|
|
this.btnGenerate.Name = "btnGenerate";
|
|
this.btnGenerate.Size = new System.Drawing.Size(140, 30);
|
|
this.btnGenerate.TabIndex = 6;
|
|
this.btnGenerate.Text = "Generate";
|
|
this.btnGenerate.UseVisualStyleBackColor = true;
|
|
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnClose.Location = new System.Drawing.Point(5, 487);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(140, 30);
|
|
this.btnClose.TabIndex = 7;
|
|
this.btnClose.Text = "Close";
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
//
|
|
// toolTip1
|
|
//
|
|
this.toolTip1.AutoPopDelay = 10000;
|
|
this.toolTip1.InitialDelay = 500;
|
|
this.toolTip1.ReshowDelay = 100;
|
|
//
|
|
// Export
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnClose;
|
|
this.ClientSize = new System.Drawing.Size(692, 531);
|
|
this.Controls.Add(this.btnClose);
|
|
this.Controls.Add(this.btnGenerate);
|
|
this.Controls.Add(this.gbText);
|
|
this.Controls.Add(this.gbNumbers);
|
|
this.Controls.Add(this.gbOptions);
|
|
this.Controls.Add(this.gbScan);
|
|
this.Controls.Add(this.txtOutput);
|
|
this.MinimumSize = new System.Drawing.Size(700, 570);
|
|
this.Name = "Export";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Export";
|
|
this.Load += new System.EventHandler(this.Export_Load);
|
|
this.gbScan.ResumeLayout(false);
|
|
this.gbOptions.ResumeLayout(false);
|
|
this.gbOptions.PerformLayout();
|
|
this.gbNumbers.ResumeLayout(false);
|
|
this.gbText.ResumeLayout(false);
|
|
this.gbText.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudXLines)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.RichTextBox txtOutput;
|
|
private System.Windows.Forms.GroupBox gbScan;
|
|
private System.Windows.Forms.ComboBox cbVDir;
|
|
private System.Windows.Forms.ComboBox cbHDir;
|
|
private System.Windows.Forms.ComboBox cbOrder;
|
|
private System.Windows.Forms.GroupBox gbOptions;
|
|
private System.Windows.Forms.CheckBox cbHeader;
|
|
private System.Windows.Forms.CheckBox cbComments;
|
|
private System.Windows.Forms.GroupBox gbNumbers;
|
|
private System.Windows.Forms.ComboBox cbBitOrder;
|
|
private System.Windows.Forms.ComboBox cbNumSize;
|
|
private System.Windows.Forms.ComboBox cbNumBase;
|
|
private System.Windows.Forms.GroupBox gbText;
|
|
private System.Windows.Forms.Label lblXLines;
|
|
private System.Windows.Forms.NumericUpDown nudXLines;
|
|
private System.Windows.Forms.ComboBox cbLines;
|
|
private System.Windows.Forms.ComboBox cbFormat;
|
|
private System.Windows.Forms.Button btnGenerate;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.CheckBox cbZeroes;
|
|
private System.Windows.Forms.ToolTip toolTip1;
|
|
}
|
|
} |