210 lines
11 KiB
C#
210 lines
11 KiB
C#
namespace FastColoredTextBoxNS
|
|
{
|
|
partial class HotkeysEditorForm
|
|
{
|
|
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.dgv = new System.Windows.Forms.DataGridView();
|
|
this.cbModifiers = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.cbKey = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.cbAction = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.btAdd = new System.Windows.Forms.Button();
|
|
this.btRemove = new System.Windows.Forms.Button();
|
|
this.btCancel = new System.Windows.Forms.Button();
|
|
this.btOk = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.btResore = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// dgv
|
|
//
|
|
this.dgv.AllowUserToAddRows = false;
|
|
this.dgv.AllowUserToDeleteRows = false;
|
|
this.dgv.AllowUserToResizeColumns = false;
|
|
this.dgv.AllowUserToResizeRows = false;
|
|
this.dgv.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.dgv.BackgroundColor = System.Drawing.SystemColors.Control;
|
|
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.cbModifiers,
|
|
this.cbKey,
|
|
this.cbAction});
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.LightSteelBlue;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgv.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgv.GridColor = System.Drawing.SystemColors.Control;
|
|
this.dgv.Location = new System.Drawing.Point(12, 28);
|
|
this.dgv.Name = "dgv";
|
|
this.dgv.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|
this.dgv.RowHeadersVisible = false;
|
|
this.dgv.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgv.Size = new System.Drawing.Size(525, 278);
|
|
this.dgv.TabIndex = 0;
|
|
this.dgv.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgv_RowsAdded);
|
|
//
|
|
// cbModifiers
|
|
//
|
|
this.cbModifiers.DataPropertyName = "Modifiers";
|
|
this.cbModifiers.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox;
|
|
this.cbModifiers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.cbModifiers.HeaderText = "Modifiers";
|
|
this.cbModifiers.Name = "cbModifiers";
|
|
//
|
|
// cbKey
|
|
//
|
|
this.cbKey.DataPropertyName = "Key";
|
|
this.cbKey.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox;
|
|
this.cbKey.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.cbKey.HeaderText = "Key";
|
|
this.cbKey.Name = "cbKey";
|
|
this.cbKey.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.cbKey.Width = 120;
|
|
//
|
|
// cbAction
|
|
//
|
|
this.cbAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.cbAction.DataPropertyName = "Action";
|
|
this.cbAction.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox;
|
|
this.cbAction.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.cbAction.HeaderText = "Action";
|
|
this.cbAction.Name = "cbAction";
|
|
//
|
|
// btAdd
|
|
//
|
|
this.btAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btAdd.Location = new System.Drawing.Point(13, 322);
|
|
this.btAdd.Name = "btAdd";
|
|
this.btAdd.Size = new System.Drawing.Size(75, 23);
|
|
this.btAdd.TabIndex = 1;
|
|
this.btAdd.Text = "Add";
|
|
this.btAdd.UseVisualStyleBackColor = true;
|
|
this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
|
|
//
|
|
// btRemove
|
|
//
|
|
this.btRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btRemove.Location = new System.Drawing.Point(103, 322);
|
|
this.btRemove.Name = "btRemove";
|
|
this.btRemove.Size = new System.Drawing.Size(75, 23);
|
|
this.btRemove.TabIndex = 2;
|
|
this.btRemove.Text = "Remove";
|
|
this.btRemove.UseVisualStyleBackColor = true;
|
|
this.btRemove.Click += new System.EventHandler(this.btRemove_Click);
|
|
//
|
|
// btCancel
|
|
//
|
|
this.btCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btCancel.Location = new System.Drawing.Point(460, 322);
|
|
this.btCancel.Name = "btCancel";
|
|
this.btCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btCancel.TabIndex = 4;
|
|
this.btCancel.Text = "Cancel";
|
|
this.btCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// btOk
|
|
//
|
|
this.btOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btOk.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.btOk.Location = new System.Drawing.Point(379, 322);
|
|
this.btOk.Name = "btOk";
|
|
this.btOk.Size = new System.Drawing.Size(75, 23);
|
|
this.btOk.TabIndex = 3;
|
|
this.btOk.Text = "OK";
|
|
this.btOk.UseVisualStyleBackColor = true;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(114, 16);
|
|
this.label1.TabIndex = 5;
|
|
this.label1.Text = "Hotkeys mapping";
|
|
//
|
|
// btResore
|
|
//
|
|
this.btResore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btResore.Location = new System.Drawing.Point(194, 322);
|
|
this.btResore.Name = "btResore";
|
|
this.btResore.Size = new System.Drawing.Size(105, 23);
|
|
this.btResore.TabIndex = 6;
|
|
this.btResore.Text = "Restore default";
|
|
this.btResore.UseVisualStyleBackColor = true;
|
|
this.btResore.Click += new System.EventHandler(this.btResore_Click);
|
|
//
|
|
// HotkeysEditorForm
|
|
//
|
|
this.AcceptButton = this.btOk;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btCancel;
|
|
this.ClientSize = new System.Drawing.Size(549, 357);
|
|
this.Controls.Add(this.btResore);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btCancel);
|
|
this.Controls.Add(this.btOk);
|
|
this.Controls.Add(this.btRemove);
|
|
this.Controls.Add(this.btAdd);
|
|
this.Controls.Add(this.dgv);
|
|
this.MaximumSize = new System.Drawing.Size(565, 700);
|
|
this.MinimumSize = new System.Drawing.Size(565, 395);
|
|
this.Name = "HotkeysEditorForm";
|
|
this.ShowIcon = false;
|
|
this.Text = "Hotkeys Editor";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.HotkeysEditorForm_FormClosing);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridView dgv;
|
|
private System.Windows.Forms.Button btAdd;
|
|
private System.Windows.Forms.Button btRemove;
|
|
private System.Windows.Forms.Button btCancel;
|
|
private System.Windows.Forms.Button btOk;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button btResore;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn cbModifiers;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn cbKey;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn cbAction;
|
|
}
|
|
} |