187 lines
8.3 KiB
C#
187 lines
8.3 KiB
C#
namespace McBitFont {
|
|
partial class CodeShift {
|
|
/// <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() {
|
|
components = new System.ComponentModel.Container();
|
|
rbShiftLeft = new System.Windows.Forms.RadioButton();
|
|
rbShiftRight = new System.Windows.Forms.RadioButton();
|
|
rbSpecify = new System.Windows.Forms.RadioButton();
|
|
lblValue = new System.Windows.Forms.Label();
|
|
nudValue = new System.Windows.Forms.NumericUpDown();
|
|
btnOK = new System.Windows.Forms.Button();
|
|
btnCancel = new System.Windows.Forms.Button();
|
|
lblMessage = new System.Windows.Forms.Label();
|
|
lblRange = new System.Windows.Forms.Label();
|
|
toolTip1 = new System.Windows.Forms.ToolTip(components);
|
|
((System.ComponentModel.ISupportInitialize)nudValue).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// rbShiftLeft
|
|
//
|
|
rbShiftLeft.AutoSize = true;
|
|
rbShiftLeft.Location = new System.Drawing.Point(12, 12);
|
|
rbShiftLeft.Name = "rbShiftLeft";
|
|
rbShiftLeft.Size = new System.Drawing.Size(134, 19);
|
|
rbShiftLeft.TabIndex = 0;
|
|
rbShiftLeft.Text = "Shift Left (towards 0)";
|
|
toolTip1.SetToolTip(rbShiftLeft, "Shift all symbols left on the code sequence decreasing codes");
|
|
rbShiftLeft.UseVisualStyleBackColor = true;
|
|
rbShiftLeft.CheckedChanged += ModeChanged;
|
|
//
|
|
// rbShiftRight
|
|
//
|
|
rbShiftRight.AutoSize = true;
|
|
rbShiftRight.Location = new System.Drawing.Point(12, 37);
|
|
rbShiftRight.Name = "rbShiftRight";
|
|
rbShiftRight.Size = new System.Drawing.Size(154, 19);
|
|
rbShiftRight.TabIndex = 1;
|
|
rbShiftRight.Text = "Shift Right (towards 255)";
|
|
toolTip1.SetToolTip(rbShiftRight, "Shift all symbols right on the code sequence increasing codes");
|
|
rbShiftRight.UseVisualStyleBackColor = true;
|
|
rbShiftRight.CheckedChanged += ModeChanged;
|
|
//
|
|
// rbSpecify
|
|
//
|
|
rbSpecify.AutoSize = true;
|
|
rbSpecify.Location = new System.Drawing.Point(12, 62);
|
|
rbSpecify.Name = "rbSpecify";
|
|
rbSpecify.Size = new System.Drawing.Size(118, 19);
|
|
rbSpecify.TabIndex = 2;
|
|
rbSpecify.Text = "Specify start code";
|
|
toolTip1.SetToolTip(rbSpecify, "Specify the code for the first symbol in sequence");
|
|
rbSpecify.UseVisualStyleBackColor = true;
|
|
rbSpecify.CheckedChanged += ModeChanged;
|
|
//
|
|
// lblValue
|
|
//
|
|
lblValue.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
|
lblValue.Location = new System.Drawing.Point(156, 8);
|
|
lblValue.Name = "lblValue";
|
|
lblValue.Size = new System.Drawing.Size(110, 15);
|
|
lblValue.TabIndex = 3;
|
|
lblValue.Text = "Shift by:";
|
|
lblValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// nudValue
|
|
//
|
|
nudValue.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
|
nudValue.Location = new System.Drawing.Point(185, 27);
|
|
nudValue.Maximum = new decimal(new int[] { 254, 0, 0, 0 });
|
|
nudValue.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
|
nudValue.Name = "nudValue";
|
|
nudValue.Size = new System.Drawing.Size(50, 23);
|
|
nudValue.TabIndex = 5;
|
|
nudValue.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
|
nudValue.ValueChanged += nudValue_ValueChanged;
|
|
//
|
|
// btnOK
|
|
//
|
|
btnOK.Location = new System.Drawing.Point(24, 155);
|
|
btnOK.Name = "btnOK";
|
|
btnOK.Size = new System.Drawing.Size(88, 27);
|
|
btnOK.TabIndex = 6;
|
|
btnOK.Text = "OK";
|
|
btnOK.UseVisualStyleBackColor = true;
|
|
btnOK.Click += btnOK_Click;
|
|
//
|
|
// btnCancel
|
|
//
|
|
btnCancel.Location = new System.Drawing.Point(156, 155);
|
|
btnCancel.Name = "btnCancel";
|
|
btnCancel.Size = new System.Drawing.Size(88, 27);
|
|
btnCancel.TabIndex = 7;
|
|
btnCancel.Text = "Cancel";
|
|
btnCancel.UseVisualStyleBackColor = true;
|
|
btnCancel.Click += btnCancel_Click;
|
|
//
|
|
// lblMessage
|
|
//
|
|
lblMessage.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
|
lblMessage.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 204);
|
|
lblMessage.ForeColor = System.Drawing.Color.DarkRed;
|
|
lblMessage.Location = new System.Drawing.Point(0, 84);
|
|
lblMessage.Name = "lblMessage";
|
|
lblMessage.Size = new System.Drawing.Size(268, 68);
|
|
lblMessage.TabIndex = 8;
|
|
lblMessage.Text = "Message";
|
|
lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblRange
|
|
//
|
|
lblRange.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
|
|
lblRange.Location = new System.Drawing.Point(183, 53);
|
|
lblRange.Name = "lblRange";
|
|
lblRange.Size = new System.Drawing.Size(62, 31);
|
|
lblRange.TabIndex = 9;
|
|
lblRange.Text = "min: 222\r\nmax: 222";
|
|
//
|
|
// toolTip1
|
|
//
|
|
toolTip1.AutoPopDelay = 10000;
|
|
toolTip1.InitialDelay = 500;
|
|
toolTip1.ReshowDelay = 100;
|
|
//
|
|
// CodeShift
|
|
//
|
|
AcceptButton = btnOK;
|
|
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
CancelButton = btnCancel;
|
|
ClientSize = new System.Drawing.Size(268, 191);
|
|
Controls.Add(lblRange);
|
|
Controls.Add(lblMessage);
|
|
Controls.Add(btnCancel);
|
|
Controls.Add(btnOK);
|
|
Controls.Add(nudValue);
|
|
Controls.Add(lblValue);
|
|
Controls.Add(rbSpecify);
|
|
Controls.Add(rbShiftRight);
|
|
Controls.Add(rbShiftLeft);
|
|
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "CodeShift";
|
|
ShowIcon = false;
|
|
ShowInTaskbar = false;
|
|
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
Text = "Code Shift";
|
|
Load += CodeShift_Load;
|
|
((System.ComponentModel.ISupportInitialize)nudValue).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Label lblValue;
|
|
private System.Windows.Forms.Button btnOK;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
public System.Windows.Forms.RadioButton rbShiftLeft;
|
|
public System.Windows.Forms.RadioButton rbShiftRight;
|
|
public System.Windows.Forms.RadioButton rbSpecify;
|
|
public System.Windows.Forms.NumericUpDown nudValue;
|
|
private System.Windows.Forms.Label lblMessage;
|
|
private System.Windows.Forms.Label lblRange;
|
|
private System.Windows.Forms.ToolTip toolTip1;
|
|
}
|
|
} |