mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-16 20:17:30 +08:00
115 lines
5.2 KiB
C#
115 lines
5.2 KiB
C#
|
namespace CodeWalker
|
|||
|
{
|
|||
|
partial class KeyBindForm
|
|||
|
{
|
|||
|
/// <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(KeyBindForm));
|
|||
|
this.CancellButton = new System.Windows.Forms.Button();
|
|||
|
this.OkButton = new System.Windows.Forms.Button();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.KeyLabel = new System.Windows.Forms.Label();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// CancellButton
|
|||
|
//
|
|||
|
this.CancellButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.CancellButton.Location = new System.Drawing.Point(150, 54);
|
|||
|
this.CancellButton.Name = "CancellButton";
|
|||
|
this.CancellButton.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.CancellButton.TabIndex = 0;
|
|||
|
this.CancellButton.TabStop = false;
|
|||
|
this.CancellButton.Text = "Cancel";
|
|||
|
this.CancellButton.UseVisualStyleBackColor = true;
|
|||
|
this.CancellButton.Click += new System.EventHandler(this.CancellButton_Click);
|
|||
|
//
|
|||
|
// OkButton
|
|||
|
//
|
|||
|
this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.OkButton.Enabled = false;
|
|||
|
this.OkButton.Location = new System.Drawing.Point(69, 54);
|
|||
|
this.OkButton.Name = "OkButton";
|
|||
|
this.OkButton.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.OkButton.TabIndex = 1;
|
|||
|
this.OkButton.TabStop = false;
|
|||
|
this.OkButton.Text = "Ok";
|
|||
|
this.OkButton.UseVisualStyleBackColor = true;
|
|||
|
this.OkButton.Click += new System.EventHandler(this.OkButton_Click);
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(109, 13);
|
|||
|
this.label1.TabIndex = 2;
|
|||
|
this.label1.Text = "Press the key to bind:";
|
|||
|
//
|
|||
|
// KeyLabel
|
|||
|
//
|
|||
|
this.KeyLabel.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.KeyLabel.Location = new System.Drawing.Point(15, 31);
|
|||
|
this.KeyLabel.Name = "KeyLabel";
|
|||
|
this.KeyLabel.Size = new System.Drawing.Size(204, 20);
|
|||
|
this.KeyLabel.TabIndex = 3;
|
|||
|
this.KeyLabel.Text = "-";
|
|||
|
this.KeyLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
|||
|
//
|
|||
|
// KeyBindForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(237, 89);
|
|||
|
this.Controls.Add(this.KeyLabel);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.OkButton);
|
|||
|
this.Controls.Add(this.CancellButton);
|
|||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|||
|
this.KeyPreview = true;
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.MinimizeBox = false;
|
|||
|
this.Name = "KeyBindForm";
|
|||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|||
|
this.Text = "Bind Key - CodeWalker";
|
|||
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.KeyBindForm_KeyDown);
|
|||
|
this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.KeyBindForm_PreviewKeyDown);
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.Button CancellButton;
|
|||
|
private System.Windows.Forms.Button OkButton;
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
private System.Windows.Forms.Label KeyLabel;
|
|||
|
}
|
|||
|
}
|