diff --git a/windows/QMK Toolbox/KeyTester/KeyControl.Designer.cs b/windows/QMK Toolbox/KeyTester/KeyControl.Designer.cs
index dccf49217c..fc5a99917b 100644
--- a/windows/QMK Toolbox/KeyTester/KeyControl.Designer.cs
+++ b/windows/QMK Toolbox/KeyTester/KeyControl.Designer.cs
@@ -28,31 +28,31 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
- this.lblLegend = new System.Windows.Forms.Label();
- this.SuspendLayout();
+ lblLegend = new System.Windows.Forms.Label();
+ SuspendLayout();
//
// lblLegend
//
- this.lblLegend.BackColor = System.Drawing.SystemColors.ControlLight;
- this.lblLegend.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.lblLegend.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lblLegend.Location = new System.Drawing.Point(0, 0);
- this.lblLegend.Margin = new System.Windows.Forms.Padding(0);
- this.lblLegend.Name = "lblLegend";
- this.lblLegend.Size = new System.Drawing.Size(40, 40);
- this.lblLegend.TabIndex = 0;
- this.lblLegend.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ lblLegend.BackColor = System.Drawing.SystemColors.ControlLight;
+ lblLegend.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ lblLegend.Dock = System.Windows.Forms.DockStyle.Fill;
+ lblLegend.Location = new System.Drawing.Point(0, 0);
+ lblLegend.Margin = new System.Windows.Forms.Padding(0);
+ lblLegend.Name = "lblLegend";
+ lblLegend.Size = new System.Drawing.Size(47, 46);
+ lblLegend.TabIndex = 0;
+ lblLegend.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// KeyControl
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.lblLegend);
- this.Enabled = false;
- this.Name = "KeyControl";
- this.Size = new System.Drawing.Size(40, 40);
- this.ResumeLayout(false);
-
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ Controls.Add(lblLegend);
+ Enabled = false;
+ Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ Name = "KeyControl";
+ Size = new System.Drawing.Size(47, 46);
+ ResumeLayout(false);
}
#endregion
diff --git a/windows/QMK Toolbox/KeyTester/KeyControl.resx b/windows/QMK Toolbox/KeyTester/KeyControl.resx
index 48489871d2..af32865ec1 100644
--- a/windows/QMK Toolbox/KeyTester/KeyControl.resx
+++ b/windows/QMK Toolbox/KeyTester/KeyControl.resx
@@ -1,17 +1,17 @@
-
@@ -117,4 +117,4 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
\ No newline at end of file
diff --git a/windows/QMK Toolbox/MainWindow.Designer.cs b/windows/QMK Toolbox/MainWindow.Designer.cs
index 9f8c77d79b..a6d47b01af 100644
--- a/windows/QMK Toolbox/MainWindow.Designer.cs
+++ b/windows/QMK Toolbox/MainWindow.Designer.cs
@@ -22,526 +22,507 @@ protected override void Dispose(bool disposing) {
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
- private void InitializeComponent() {
- this.components = new System.ComponentModel.Container();
+ private void InitializeComponent()
+ {
+ components = new System.ComponentModel.Container();
+ Properties.Settings settings1 = new Properties.Settings();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
- this.flashButton = new System.Windows.Forms.Button();
- this.windowStateBindingSource = new System.Windows.Forms.BindingSource(this.components);
- this.autoflashCheckbox = new System.Windows.Forms.CheckBox();
- this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
- this.openFileButton = new System.Windows.Forms.Button();
- this.resetButton = new System.Windows.Forms.Button();
- this.mcuLabel = new System.Windows.Forms.Label();
- this.fileGroupBox = new System.Windows.Forms.GroupBox();
- this.filepathBox = new QMK_Toolbox.BetterComboBox();
- this.mcuBox = new QMK_Toolbox.MicrocontrollerSelector();
- this.clearEepromButton = new System.Windows.Forms.Button();
- this.logTextBox = new QMK_Toolbox.LogTextBox();
- this.logContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.logContextMenuSep1 = new System.Windows.Forms.ToolStripSeparator();
- this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.logContextMenuSep2 = new System.Windows.Forms.ToolStripSeparator();
- this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.mainMenu = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.fileToolStripMenuSep = new System.Windows.Forms.ToolStripSeparator();
- this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.flashToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.eepromToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.eepromClearToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.eepromToolStripMenuSep = new System.Windows.Forms.ToolStripSeparator();
- this.eepromLeftToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.eepromRightToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.exitDFUToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.toolsToolStripMenuSep1 = new System.Windows.Forms.ToolStripSeparator();
- this.autoFlashToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.showAllDevicesToolStripMenuItem = new QMK_Toolbox.BindableToolStripMenuItem();
- this.toolsToolStripMenuSep2 = new System.Windows.Forms.ToolStripSeparator();
- this.keyTesterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.hidConsoleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.installDriversToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsToolStripMenuSep3 = new System.Windows.Forms.ToolStripSeparator();
- this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.checkForUpdatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuSep = new System.Windows.Forms.ToolStripSeparator();
- this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- ((System.ComponentModel.ISupportInitialize)(this.windowStateBindingSource)).BeginInit();
- this.fileGroupBox.SuspendLayout();
- this.logContextMenu.SuspendLayout();
- this.mainMenu.SuspendLayout();
- this.SuspendLayout();
+ flashButton = new System.Windows.Forms.Button();
+ windowStateBindingSource = new System.Windows.Forms.BindingSource(components);
+ autoflashCheckbox = new System.Windows.Forms.CheckBox();
+ openFileDialog = new System.Windows.Forms.OpenFileDialog();
+ openFileButton = new System.Windows.Forms.Button();
+ resetButton = new System.Windows.Forms.Button();
+ mcuLabel = new System.Windows.Forms.Label();
+ fileGroupBox = new System.Windows.Forms.GroupBox();
+ filepathBox = new BetterComboBox();
+ mcuBox = new MicrocontrollerSelector();
+ clearEepromButton = new System.Windows.Forms.Button();
+ logTextBox = new LogTextBox();
+ logContextMenu = new System.Windows.Forms.ContextMenuStrip(components);
+ cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ logContextMenuSep1 = new System.Windows.Forms.ToolStripSeparator();
+ selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ logContextMenuSep2 = new System.Windows.Forms.ToolStripSeparator();
+ clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ mainMenu = new System.Windows.Forms.MenuStrip();
+ fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ fileToolStripMenuSep = new System.Windows.Forms.ToolStripSeparator();
+ exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ flashToolStripMenuItem = new BindableToolStripMenuItem();
+ eepromToolStripMenuItem = new BindableToolStripMenuItem();
+ eepromClearToolStripMenuItem = new BindableToolStripMenuItem();
+ eepromToolStripMenuSep = new System.Windows.Forms.ToolStripSeparator();
+ eepromLeftToolStripMenuItem = new BindableToolStripMenuItem();
+ eepromRightToolStripMenuItem = new BindableToolStripMenuItem();
+ exitDFUToolStripMenuItem = new BindableToolStripMenuItem();
+ toolsToolStripMenuSep1 = new System.Windows.Forms.ToolStripSeparator();
+ autoFlashToolStripMenuItem = new BindableToolStripMenuItem();
+ showAllDevicesToolStripMenuItem = new BindableToolStripMenuItem();
+ toolsToolStripMenuSep2 = new System.Windows.Forms.ToolStripSeparator();
+ keyTesterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ hidConsoleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ installDriversToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ toolsToolStripMenuSep3 = new System.Windows.Forms.ToolStripSeparator();
+ optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ checkForUpdatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ helpToolStripMenuSep = new System.Windows.Forms.ToolStripSeparator();
+ aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ ((System.ComponentModel.ISupportInitialize)windowStateBindingSource).BeginInit();
+ fileGroupBox.SuspendLayout();
+ logContextMenu.SuspendLayout();
+ mainMenu.SuspendLayout();
+ SuspendLayout();
//
// flashButton
//
- this.flashButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.flashButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanFlash", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.flashButton.Enabled = false;
- this.flashButton.Location = new System.Drawing.Point(537, 86);
- this.flashButton.Name = "flashButton";
- this.flashButton.Size = new System.Drawing.Size(62, 23);
- this.flashButton.TabIndex = 6;
- this.flashButton.Text = "Flash";
- this.flashButton.Click += new System.EventHandler(this.FlashButton_Click);
+ flashButton.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ flashButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanFlash", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ flashButton.Enabled = false;
+ flashButton.Location = new System.Drawing.Point(626, 99);
+ flashButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ flashButton.Name = "flashButton";
+ flashButton.Size = new System.Drawing.Size(72, 27);
+ flashButton.TabIndex = 6;
+ flashButton.Text = "Flash";
+ flashButton.Click += FlashButton_Click;
//
// windowStateBindingSource
//
- this.windowStateBindingSource.DataSource = typeof(QMK_Toolbox.WindowState);
+ windowStateBindingSource.DataSource = typeof(WindowState);
//
// autoflashCheckbox
//
- this.autoflashCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.autoflashCheckbox.AutoSize = true;
- this.autoflashCheckbox.BackColor = System.Drawing.Color.Transparent;
- this.autoflashCheckbox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.windowStateBindingSource, "AutoFlashEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.autoflashCheckbox.Location = new System.Drawing.Point(455, 90);
- this.autoflashCheckbox.Name = "autoflashCheckbox";
- this.autoflashCheckbox.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.autoflashCheckbox.Size = new System.Drawing.Size(76, 17);
- this.autoflashCheckbox.TabIndex = 5;
- this.autoflashCheckbox.Text = "Auto-Flash";
- this.autoflashCheckbox.UseVisualStyleBackColor = false;
+ autoflashCheckbox.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ autoflashCheckbox.AutoSize = true;
+ autoflashCheckbox.BackColor = System.Drawing.Color.Transparent;
+ autoflashCheckbox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", windowStateBindingSource, "AutoFlashEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ autoflashCheckbox.Location = new System.Drawing.Point(536, 104);
+ autoflashCheckbox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ autoflashCheckbox.Name = "autoflashCheckbox";
+ autoflashCheckbox.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ autoflashCheckbox.Size = new System.Drawing.Size(84, 19);
+ autoflashCheckbox.TabIndex = 5;
+ autoflashCheckbox.Text = "Auto-Flash";
+ autoflashCheckbox.UseVisualStyleBackColor = false;
//
// openFileDialog
//
- this.openFileDialog.Filter = "Intel Hex and Binary (*.hex;*.bin)|*.hex;*.bin|Intel Hex (*.hex)|*.hex|Binary (*." +
- "bin)|*.bin";
+ openFileDialog.Filter = "Intel Hex and Binary (*.hex;*.bin)|*.hex;*.bin|Intel Hex (*.hex)|*.hex|Binary (*.bin)|*.bin";
//
// openFileButton
//
- this.openFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.openFileButton.Location = new System.Drawing.Point(571, 18);
- this.openFileButton.Name = "openFileButton";
- this.openFileButton.Size = new System.Drawing.Size(64, 23);
- this.openFileButton.TabIndex = 2;
- this.openFileButton.Text = "Open";
- this.openFileButton.UseVisualStyleBackColor = true;
- this.openFileButton.Click += new System.EventHandler(this.OpenFileButton_Click);
+ openFileButton.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ openFileButton.Location = new System.Drawing.Point(666, 21);
+ openFileButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ openFileButton.Name = "openFileButton";
+ openFileButton.Size = new System.Drawing.Size(75, 27);
+ openFileButton.TabIndex = 2;
+ openFileButton.Text = "Open";
+ openFileButton.UseVisualStyleBackColor = true;
+ openFileButton.Click += OpenFileButton_Click;
//
// resetButton
//
- this.resetButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.resetButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanReset", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.resetButton.Enabled = false;
- this.resetButton.Location = new System.Drawing.Point(721, 86);
- this.resetButton.Name = "resetButton";
- this.resetButton.Size = new System.Drawing.Size(67, 23);
- this.resetButton.TabIndex = 8;
- this.resetButton.Text = "Exit DFU";
- this.resetButton.Click += new System.EventHandler(this.ResetButton_Click);
+ resetButton.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ resetButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanReset", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ resetButton.Enabled = false;
+ resetButton.Location = new System.Drawing.Point(841, 99);
+ resetButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ resetButton.Name = "resetButton";
+ resetButton.Size = new System.Drawing.Size(78, 27);
+ resetButton.TabIndex = 8;
+ resetButton.Text = "Exit DFU";
+ resetButton.Click += ResetButton_Click;
//
// mcuLabel
//
- this.mcuLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.mcuLabel.AutoSize = true;
- this.mcuLabel.Location = new System.Drawing.Point(638, 0);
- this.mcuLabel.Name = "mcuLabel";
- this.mcuLabel.Size = new System.Drawing.Size(84, 13);
- this.mcuLabel.TabIndex = 3;
- this.mcuLabel.Text = "MCU (AVR only)";
+ mcuLabel.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ mcuLabel.AutoSize = true;
+ mcuLabel.Location = new System.Drawing.Point(744, 0);
+ mcuLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ mcuLabel.Name = "mcuLabel";
+ mcuLabel.Size = new System.Drawing.Size(92, 15);
+ mcuLabel.TabIndex = 3;
+ mcuLabel.Text = "MCU (AVR only)";
//
// fileGroupBox
//
- this.fileGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.fileGroupBox.Controls.Add(this.openFileButton);
- this.fileGroupBox.Controls.Add(this.filepathBox);
- this.fileGroupBox.Controls.Add(this.mcuLabel);
- this.fileGroupBox.Controls.Add(this.mcuBox);
- this.fileGroupBox.Location = new System.Drawing.Point(12, 32);
- this.fileGroupBox.Name = "fileGroupBox";
- this.fileGroupBox.Size = new System.Drawing.Size(776, 48);
- this.fileGroupBox.TabIndex = 0;
- this.fileGroupBox.TabStop = false;
- this.fileGroupBox.Text = "Local file";
+ fileGroupBox.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ fileGroupBox.Controls.Add(openFileButton);
+ fileGroupBox.Controls.Add(filepathBox);
+ fileGroupBox.Controls.Add(mcuLabel);
+ fileGroupBox.Controls.Add(mcuBox);
+ fileGroupBox.Location = new System.Drawing.Point(14, 37);
+ fileGroupBox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ fileGroupBox.Name = "fileGroupBox";
+ fileGroupBox.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ fileGroupBox.Size = new System.Drawing.Size(905, 55);
+ fileGroupBox.TabIndex = 0;
+ fileGroupBox.TabStop = false;
+ fileGroupBox.Text = "Local file";
//
// filepathBox
//
- this.filepathBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.filepathBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::QMK_Toolbox.Properties.Settings.Default, "hexFileSetting", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.filepathBox.FormattingEnabled = true;
- this.filepathBox.Location = new System.Drawing.Point(6, 19);
- this.filepathBox.Name = "filepathBox";
- this.filepathBox.PlaceholderText = "Click Open or drag to window to select file";
- this.filepathBox.Size = new System.Drawing.Size(558, 21);
- this.filepathBox.TabIndex = 1;
- this.filepathBox.Text = global::QMK_Toolbox.Properties.Settings.Default.hexFileSetting;
- this.filepathBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FilepathBox_KeyDown);
+ filepathBox.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ settings1.autoSetting = false;
+ settings1.driversInstalled = false;
+ settings1.firstStart = true;
+ settings1.hexFileCollection = null;
+ settings1.hexFileSetting = "";
+ settings1.keyboard = "";
+ settings1.keymap = "";
+ settings1.outputZoom = 1F;
+ settings1.SettingsKey = "";
+ settings1.showAllDevices = false;
+ settings1.targetSetting = "atmega32u4";
+ filepathBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", settings1, "hexFileSetting", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ filepathBox.FormattingEnabled = true;
+ filepathBox.Location = new System.Drawing.Point(7, 22);
+ filepathBox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ filepathBox.Name = "filepathBox";
+ filepathBox.PlaceholderText = "Click Open or drag to window to select file";
+ filepathBox.Size = new System.Drawing.Size(650, 23);
+ filepathBox.TabIndex = 1;
+ filepathBox.KeyDown += FilepathBox_KeyDown;
//
// mcuBox
//
- this.mcuBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.mcuBox.DisplayMember = "Value";
- this.mcuBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.mcuBox.FormattingEnabled = true;
- this.mcuBox.Location = new System.Drawing.Point(641, 19);
- this.mcuBox.Name = "mcuBox";
- this.mcuBox.Size = new System.Drawing.Size(129, 21);
- this.mcuBox.TabIndex = 4;
- this.mcuBox.ValueMember = "Key";
+ mcuBox.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ mcuBox.DisplayMember = "Value";
+ mcuBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ mcuBox.FormattingEnabled = true;
+ mcuBox.Location = new System.Drawing.Point(748, 22);
+ mcuBox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ mcuBox.Name = "mcuBox";
+ mcuBox.Size = new System.Drawing.Size(150, 23);
+ mcuBox.TabIndex = 4;
+ mcuBox.ValueMember = "Key";
//
// clearEepromButton
//
- this.clearEepromButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.clearEepromButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.clearEepromButton.Enabled = false;
- this.clearEepromButton.Location = new System.Drawing.Point(605, 86);
- this.clearEepromButton.Name = "clearEepromButton";
- this.clearEepromButton.Size = new System.Drawing.Size(110, 23);
- this.clearEepromButton.TabIndex = 7;
- this.clearEepromButton.Text = "Clear EEPROM";
- this.clearEepromButton.UseVisualStyleBackColor = true;
- this.clearEepromButton.Click += new System.EventHandler(this.ClearEepromButton_Click);
+ clearEepromButton.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ clearEepromButton.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ clearEepromButton.Enabled = false;
+ clearEepromButton.Location = new System.Drawing.Point(706, 99);
+ clearEepromButton.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ clearEepromButton.Name = "clearEepromButton";
+ clearEepromButton.Size = new System.Drawing.Size(128, 27);
+ clearEepromButton.TabIndex = 7;
+ clearEepromButton.Text = "Clear EEPROM";
+ clearEepromButton.UseVisualStyleBackColor = true;
+ clearEepromButton.Click += ClearEepromButton_Click;
//
// logTextBox
//
- this.logTextBox.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.logTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
- this.logTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.logTextBox.ContextMenuStrip = this.logContextMenu;
- this.logTextBox.DataBindings.Add(new System.Windows.Forms.Binding("ZoomFactor", global::QMK_Toolbox.Properties.Settings.Default, "outputZoom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.logTextBox.DetectUrls = false;
- this.logTextBox.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.logTextBox.ForeColor = System.Drawing.Color.White;
- this.logTextBox.HideSelection = false;
- this.logTextBox.Location = new System.Drawing.Point(12, 115);
- this.logTextBox.Name = "logTextBox";
- this.logTextBox.ReadOnly = true;
- this.logTextBox.Size = new System.Drawing.Size(776, 537);
- this.logTextBox.TabIndex = 9;
- this.logTextBox.Text = "";
- this.logTextBox.WordWrap = false;
- this.logTextBox.ZoomFactor = global::QMK_Toolbox.Properties.Settings.Default.outputZoom;
+ logTextBox.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ logTextBox.BackColor = System.Drawing.Color.FromArgb(30, 30, 30);
+ logTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ logTextBox.ContextMenuStrip = logContextMenu;
+ logTextBox.DataBindings.Add(new System.Windows.Forms.Binding("ZoomFactor", settings1, "outputZoom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ logTextBox.DetectUrls = false;
+ logTextBox.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ logTextBox.ForeColor = System.Drawing.Color.White;
+ logTextBox.HideSelection = false;
+ logTextBox.Location = new System.Drawing.Point(14, 133);
+ logTextBox.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ logTextBox.Name = "logTextBox";
+ logTextBox.ReadOnly = true;
+ logTextBox.Size = new System.Drawing.Size(905, 620);
+ logTextBox.TabIndex = 9;
+ logTextBox.Text = "";
+ logTextBox.WordWrap = false;
//
// logContextMenu
//
- this.logContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.cutToolStripMenuItem,
- this.copyToolStripMenuItem,
- this.pasteToolStripMenuItem,
- this.logContextMenuSep1,
- this.selectAllToolStripMenuItem,
- this.logContextMenuSep2,
- this.clearToolStripMenuItem});
- this.logContextMenu.Name = "contextMenuStrip2";
- this.logContextMenu.ShowImageMargin = false;
- this.logContextMenu.Size = new System.Drawing.Size(140, 126);
- this.logContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.LogContextMenuStrip_Opening);
+ logContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { cutToolStripMenuItem, copyToolStripMenuItem, pasteToolStripMenuItem, logContextMenuSep1, selectAllToolStripMenuItem, logContextMenuSep2, clearToolStripMenuItem });
+ logContextMenu.Name = "contextMenuStrip2";
+ logContextMenu.ShowImageMargin = false;
+ logContextMenu.Size = new System.Drawing.Size(140, 126);
+ logContextMenu.Opening += LogContextMenuStrip_Opening;
//
// cutToolStripMenuItem
//
- this.cutToolStripMenuItem.Enabled = false;
- this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
- this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
- this.cutToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
- this.cutToolStripMenuItem.Text = "Cut";
+ cutToolStripMenuItem.Enabled = false;
+ cutToolStripMenuItem.Name = "cutToolStripMenuItem";
+ cutToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X;
+ cutToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ cutToolStripMenuItem.Text = "Cut";
//
// copyToolStripMenuItem
//
- this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
- this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
- this.copyToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
- this.copyToolStripMenuItem.Text = "&Copy";
- this.copyToolStripMenuItem.Click += new System.EventHandler(this.CopyToolStripMenuItem_Click);
+ copyToolStripMenuItem.Name = "copyToolStripMenuItem";
+ copyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C;
+ copyToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ copyToolStripMenuItem.Text = "&Copy";
+ copyToolStripMenuItem.Click += CopyToolStripMenuItem_Click;
//
// pasteToolStripMenuItem
//
- this.pasteToolStripMenuItem.Enabled = false;
- this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
- this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
- this.pasteToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
- this.pasteToolStripMenuItem.Text = "Paste";
+ pasteToolStripMenuItem.Enabled = false;
+ pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
+ pasteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V;
+ pasteToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ pasteToolStripMenuItem.Text = "Paste";
//
// logContextMenuSep1
//
- this.logContextMenuSep1.Name = "logContextMenuSep1";
- this.logContextMenuSep1.Size = new System.Drawing.Size(136, 6);
+ logContextMenuSep1.Name = "logContextMenuSep1";
+ logContextMenuSep1.Size = new System.Drawing.Size(136, 6);
//
// selectAllToolStripMenuItem
//
- this.selectAllToolStripMenuItem.Enabled = false;
- this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
- this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
- this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
- this.selectAllToolStripMenuItem.Text = "Select &All";
- this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.SelectAllToolStripMenuItem_Click);
+ selectAllToolStripMenuItem.Enabled = false;
+ selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
+ selectAllToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A;
+ selectAllToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ selectAllToolStripMenuItem.Text = "Select &All";
+ selectAllToolStripMenuItem.Click += SelectAllToolStripMenuItem_Click;
//
// logContextMenuSep2
//
- this.logContextMenuSep2.Name = "logContextMenuSep2";
- this.logContextMenuSep2.Size = new System.Drawing.Size(136, 6);
+ logContextMenuSep2.Name = "logContextMenuSep2";
+ logContextMenuSep2.Size = new System.Drawing.Size(136, 6);
//
// clearToolStripMenuItem
//
- this.clearToolStripMenuItem.Enabled = false;
- this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
- this.clearToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
- this.clearToolStripMenuItem.Text = "Clea&r";
- this.clearToolStripMenuItem.Click += new System.EventHandler(this.ClearToolStripMenuItem_Click);
+ clearToolStripMenuItem.Enabled = false;
+ clearToolStripMenuItem.Name = "clearToolStripMenuItem";
+ clearToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
+ clearToolStripMenuItem.Text = "Clea&r";
+ clearToolStripMenuItem.Click += ClearToolStripMenuItem_Click;
//
// mainMenu
//
- this.mainMenu.BackColor = System.Drawing.Color.Transparent;
- this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.fileToolStripMenuItem,
- this.toolsToolStripMenuItem,
- this.helpToolStripMenuItem});
- this.mainMenu.Location = new System.Drawing.Point(0, 0);
- this.mainMenu.Name = "mainMenu";
- this.mainMenu.Size = new System.Drawing.Size(800, 24);
- this.mainMenu.TabIndex = 0;
- this.mainMenu.Text = "mainMenu";
+ mainMenu.BackColor = System.Drawing.Color.Transparent;
+ mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem, toolsToolStripMenuItem, helpToolStripMenuItem });
+ mainMenu.Location = new System.Drawing.Point(0, 0);
+ mainMenu.Name = "mainMenu";
+ mainMenu.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
+ mainMenu.Size = new System.Drawing.Size(933, 24);
+ mainMenu.TabIndex = 0;
+ mainMenu.Text = "mainMenu";
//
// fileToolStripMenuItem
//
- this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.openToolStripMenuItem,
- this.fileToolStripMenuSep,
- this.exitToolStripMenuItem});
- this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
- this.fileToolStripMenuItem.Text = "&File";
+ fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { openToolStripMenuItem, fileToolStripMenuSep, exitToolStripMenuItem });
+ fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ fileToolStripMenuItem.Text = "&File";
//
// openToolStripMenuItem
//
- this.openToolStripMenuItem.Name = "openToolStripMenuItem";
- this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
- this.openToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
- this.openToolStripMenuItem.Text = "&Open...";
- this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenFileButton_Click);
+ openToolStripMenuItem.Name = "openToolStripMenuItem";
+ openToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O;
+ openToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+ openToolStripMenuItem.Text = "&Open...";
+ openToolStripMenuItem.Click += OpenFileButton_Click;
//
// fileToolStripMenuSep
//
- this.fileToolStripMenuSep.Name = "fileToolStripMenuSep";
- this.fileToolStripMenuSep.Size = new System.Drawing.Size(152, 6);
+ fileToolStripMenuSep.Name = "fileToolStripMenuSep";
+ fileToolStripMenuSep.Size = new System.Drawing.Size(152, 6);
//
// exitToolStripMenuItem
//
- this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
- this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
- this.exitToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
- this.exitToolStripMenuItem.Text = "E&xit";
- this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click);
+ exitToolStripMenuItem.Name = "exitToolStripMenuItem";
+ exitToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4;
+ exitToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
+ exitToolStripMenuItem.Text = "E&xit";
+ exitToolStripMenuItem.Click += ExitMenuItem_Click;
//
// toolsToolStripMenuItem
//
- this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.flashToolStripMenuItem,
- this.eepromToolStripMenuItem,
- this.exitDFUToolStripMenuItem,
- this.toolsToolStripMenuSep1,
- this.autoFlashToolStripMenuItem,
- this.showAllDevicesToolStripMenuItem,
- this.toolsToolStripMenuSep2,
- this.keyTesterToolStripMenuItem,
- this.hidConsoleToolStripMenuItem,
- this.installDriversToolStripMenuItem,
- this.toolsToolStripMenuSep3,
- this.optionsToolStripMenuItem});
- this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
- this.toolsToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
- this.toolsToolStripMenuItem.Text = "&Tools";
+ toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { flashToolStripMenuItem, eepromToolStripMenuItem, exitDFUToolStripMenuItem, toolsToolStripMenuSep1, autoFlashToolStripMenuItem, showAllDevicesToolStripMenuItem, toolsToolStripMenuSep2, keyTesterToolStripMenuItem, hidConsoleToolStripMenuItem, installDriversToolStripMenuItem, toolsToolStripMenuSep3, optionsToolStripMenuItem });
+ toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ toolsToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
+ toolsToolStripMenuItem.Text = "&Tools";
//
// flashToolStripMenuItem
//
- this.flashToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanFlash", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.flashToolStripMenuItem.Name = "flashToolStripMenuItem";
- this.flashToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
- | System.Windows.Forms.Keys.F)));
- this.flashToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.flashToolStripMenuItem.Text = "Flash";
- this.flashToolStripMenuItem.Click += new System.EventHandler(this.FlashButton_Click);
+ flashToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanFlash", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ flashToolStripMenuItem.Name = "flashToolStripMenuItem";
+ flashToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F;
+ flashToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ flashToolStripMenuItem.Text = "Flash";
+ flashToolStripMenuItem.Click += FlashButton_Click;
//
// eepromToolStripMenuItem
//
- this.eepromToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.eepromToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.eepromClearToolStripMenuItem,
- this.eepromToolStripMenuSep,
- this.eepromLeftToolStripMenuItem,
- this.eepromRightToolStripMenuItem});
- this.eepromToolStripMenuItem.Name = "eepromToolStripMenuItem";
- this.eepromToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.eepromToolStripMenuItem.Text = "EEPROM";
+ eepromToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ eepromToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { eepromClearToolStripMenuItem, eepromToolStripMenuSep, eepromLeftToolStripMenuItem, eepromRightToolStripMenuItem });
+ eepromToolStripMenuItem.Name = "eepromToolStripMenuItem";
+ eepromToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ eepromToolStripMenuItem.Text = "EEPROM";
//
// eepromClearToolStripMenuItem
//
- this.eepromClearToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.eepromClearToolStripMenuItem.Name = "eepromClearToolStripMenuItem";
- this.eepromClearToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
- | System.Windows.Forms.Keys.E)));
- this.eepromClearToolStripMenuItem.Size = new System.Drawing.Size(247, 22);
- this.eepromClearToolStripMenuItem.Text = "Clear";
- this.eepromClearToolStripMenuItem.Click += new System.EventHandler(this.ClearEepromButton_Click);
+ eepromClearToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ eepromClearToolStripMenuItem.Name = "eepromClearToolStripMenuItem";
+ eepromClearToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.E;
+ eepromClearToolStripMenuItem.Size = new System.Drawing.Size(247, 22);
+ eepromClearToolStripMenuItem.Text = "Clear";
+ eepromClearToolStripMenuItem.Click += ClearEepromButton_Click;
//
// eepromToolStripMenuSep
//
- this.eepromToolStripMenuSep.Name = "eepromToolStripMenuSep";
- this.eepromToolStripMenuSep.Size = new System.Drawing.Size(244, 6);
+ eepromToolStripMenuSep.Name = "eepromToolStripMenuSep";
+ eepromToolStripMenuSep.Size = new System.Drawing.Size(244, 6);
//
// eepromLeftToolStripMenuItem
//
- this.eepromLeftToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.eepromLeftToolStripMenuItem.Name = "eepromLeftToolStripMenuItem";
- this.eepromLeftToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
- | System.Windows.Forms.Keys.Left)));
- this.eepromLeftToolStripMenuItem.Size = new System.Drawing.Size(247, 22);
- this.eepromLeftToolStripMenuItem.Tag = "left";
- this.eepromLeftToolStripMenuItem.Text = "Set Left Hand";
- this.eepromLeftToolStripMenuItem.Click += new System.EventHandler(this.SetHandednessButton_Click);
+ eepromLeftToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ eepromLeftToolStripMenuItem.Name = "eepromLeftToolStripMenuItem";
+ eepromLeftToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Left;
+ eepromLeftToolStripMenuItem.Size = new System.Drawing.Size(247, 22);
+ eepromLeftToolStripMenuItem.Tag = "left";
+ eepromLeftToolStripMenuItem.Text = "Set Left Hand";
+ eepromLeftToolStripMenuItem.Click += SetHandednessButton_Click;
//
// eepromRightToolStripMenuItem
//
- this.eepromRightToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.eepromRightToolStripMenuItem.Name = "eepromRightToolStripMenuItem";
- this.eepromRightToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
- | System.Windows.Forms.Keys.Right)));
- this.eepromRightToolStripMenuItem.Size = new System.Drawing.Size(247, 22);
- this.eepromRightToolStripMenuItem.Tag = "right";
- this.eepromRightToolStripMenuItem.Text = "Set Right Hand";
- this.eepromRightToolStripMenuItem.Click += new System.EventHandler(this.SetHandednessButton_Click);
+ eepromRightToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanClearEeprom", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ eepromRightToolStripMenuItem.Name = "eepromRightToolStripMenuItem";
+ eepromRightToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Right;
+ eepromRightToolStripMenuItem.Size = new System.Drawing.Size(247, 22);
+ eepromRightToolStripMenuItem.Tag = "right";
+ eepromRightToolStripMenuItem.Text = "Set Right Hand";
+ eepromRightToolStripMenuItem.Click += SetHandednessButton_Click;
//
// exitDFUToolStripMenuItem
//
- this.exitDFUToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.windowStateBindingSource, "CanReset", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.exitDFUToolStripMenuItem.Name = "exitDFUToolStripMenuItem";
- this.exitDFUToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
- | System.Windows.Forms.Keys.X)));
- this.exitDFUToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.exitDFUToolStripMenuItem.Text = "Exit DFU";
- this.exitDFUToolStripMenuItem.Click += new System.EventHandler(this.ResetButton_Click);
+ exitDFUToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", windowStateBindingSource, "CanReset", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ exitDFUToolStripMenuItem.Name = "exitDFUToolStripMenuItem";
+ exitDFUToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.X;
+ exitDFUToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ exitDFUToolStripMenuItem.Text = "Exit DFU";
+ exitDFUToolStripMenuItem.Click += ResetButton_Click;
//
// toolsToolStripMenuSep1
//
- this.toolsToolStripMenuSep1.Name = "toolsToolStripMenuSep1";
- this.toolsToolStripMenuSep1.Size = new System.Drawing.Size(193, 6);
+ toolsToolStripMenuSep1.Name = "toolsToolStripMenuSep1";
+ toolsToolStripMenuSep1.Size = new System.Drawing.Size(193, 6);
//
// autoFlashToolStripMenuItem
//
- this.autoFlashToolStripMenuItem.CheckOnClick = true;
- this.autoFlashToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.windowStateBindingSource, "AutoFlashEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.autoFlashToolStripMenuItem.Name = "autoFlashToolStripMenuItem";
- this.autoFlashToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.autoFlashToolStripMenuItem.Text = "Auto-Flash";
+ autoFlashToolStripMenuItem.CheckOnClick = true;
+ autoFlashToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", windowStateBindingSource, "AutoFlashEnabled", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ autoFlashToolStripMenuItem.Name = "autoFlashToolStripMenuItem";
+ autoFlashToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ autoFlashToolStripMenuItem.Text = "Auto-Flash";
//
// showAllDevicesToolStripMenuItem
//
- this.showAllDevicesToolStripMenuItem.CheckOnClick = true;
- this.showAllDevicesToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.windowStateBindingSource, "ShowAllDevices", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
- this.showAllDevicesToolStripMenuItem.Name = "showAllDevicesToolStripMenuItem";
- this.showAllDevicesToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.showAllDevicesToolStripMenuItem.Text = "Show All Devices";
+ showAllDevicesToolStripMenuItem.CheckOnClick = true;
+ showAllDevicesToolStripMenuItem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", windowStateBindingSource, "ShowAllDevices", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
+ showAllDevicesToolStripMenuItem.Name = "showAllDevicesToolStripMenuItem";
+ showAllDevicesToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ showAllDevicesToolStripMenuItem.Text = "Show All Devices";
//
// toolsToolStripMenuSep2
//
- this.toolsToolStripMenuSep2.Name = "toolsToolStripMenuSep2";
- this.toolsToolStripMenuSep2.Size = new System.Drawing.Size(193, 6);
+ toolsToolStripMenuSep2.Name = "toolsToolStripMenuSep2";
+ toolsToolStripMenuSep2.Size = new System.Drawing.Size(193, 6);
//
// keyTesterToolStripMenuItem
//
- this.keyTesterToolStripMenuItem.Name = "keyTesterToolStripMenuItem";
- this.keyTesterToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.keyTesterToolStripMenuItem.Text = "Key Tester";
- this.keyTesterToolStripMenuItem.Click += new System.EventHandler(this.KeyTesterToolStripMenuItem_Click);
+ keyTesterToolStripMenuItem.Name = "keyTesterToolStripMenuItem";
+ keyTesterToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ keyTesterToolStripMenuItem.Text = "Key Tester";
+ keyTesterToolStripMenuItem.Click += KeyTesterToolStripMenuItem_Click;
//
// hidConsoleToolStripMenuItem
//
- this.hidConsoleToolStripMenuItem.Name = "hidConsoleToolStripMenuItem";
- this.hidConsoleToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.hidConsoleToolStripMenuItem.Text = "HID Console";
- this.hidConsoleToolStripMenuItem.Click += new System.EventHandler(this.HidConsoleToolStripMenuItem_Click);
+ hidConsoleToolStripMenuItem.Name = "hidConsoleToolStripMenuItem";
+ hidConsoleToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ hidConsoleToolStripMenuItem.Text = "HID Console";
+ hidConsoleToolStripMenuItem.Click += HidConsoleToolStripMenuItem_Click;
//
// installDriversToolStripMenuItem
//
- this.installDriversToolStripMenuItem.Name = "installDriversToolStripMenuItem";
- this.installDriversToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
- this.installDriversToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.installDriversToolStripMenuItem.Text = "I&nstall Drivers...";
- this.installDriversToolStripMenuItem.Click += new System.EventHandler(this.InstallDriversMenuItem_Click);
+ installDriversToolStripMenuItem.Name = "installDriversToolStripMenuItem";
+ installDriversToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N;
+ installDriversToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ installDriversToolStripMenuItem.Text = "I&nstall Drivers...";
+ installDriversToolStripMenuItem.Click += InstallDriversMenuItem_Click;
//
// toolsToolStripMenuSep3
//
- this.toolsToolStripMenuSep3.Name = "toolsToolStripMenuSep3";
- this.toolsToolStripMenuSep3.Size = new System.Drawing.Size(193, 6);
+ toolsToolStripMenuSep3.Name = "toolsToolStripMenuSep3";
+ toolsToolStripMenuSep3.Size = new System.Drawing.Size(193, 6);
//
// optionsToolStripMenuItem
//
- this.optionsToolStripMenuItem.Enabled = false;
- this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
- this.optionsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
- this.optionsToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
- this.optionsToolStripMenuItem.Text = "O&ptions...";
+ optionsToolStripMenuItem.Enabled = false;
+ optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
+ optionsToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P;
+ optionsToolStripMenuItem.Size = new System.Drawing.Size(196, 22);
+ optionsToolStripMenuItem.Text = "O&ptions...";
//
// helpToolStripMenuItem
//
- this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.checkForUpdatesToolStripMenuItem,
- this.helpToolStripMenuSep,
- this.aboutToolStripMenuItem});
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
- this.helpToolStripMenuItem.Text = "&Help";
+ helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { checkForUpdatesToolStripMenuItem, helpToolStripMenuSep, aboutToolStripMenuItem });
+ helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
+ helpToolStripMenuItem.Text = "&Help";
//
// checkForUpdatesToolStripMenuItem
//
- this.checkForUpdatesToolStripMenuItem.Enabled = false;
- this.checkForUpdatesToolStripMenuItem.Name = "checkForUpdatesToolStripMenuItem";
- this.checkForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.checkForUpdatesToolStripMenuItem.Text = "Check for Updates...";
+ checkForUpdatesToolStripMenuItem.Enabled = false;
+ checkForUpdatesToolStripMenuItem.Name = "checkForUpdatesToolStripMenuItem";
+ checkForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ checkForUpdatesToolStripMenuItem.Text = "Check for Updates...";
//
// helpToolStripMenuSep
//
- this.helpToolStripMenuSep.Name = "helpToolStripMenuSep";
- this.helpToolStripMenuSep.Size = new System.Drawing.Size(177, 6);
+ helpToolStripMenuSep.Name = "helpToolStripMenuSep";
+ helpToolStripMenuSep.Size = new System.Drawing.Size(177, 6);
//
// aboutToolStripMenuItem
//
- this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
- this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.aboutToolStripMenuItem.Text = "&About";
- this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutMenuItem_Click);
+ aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
+ aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ aboutToolStripMenuItem.Text = "&About";
+ aboutToolStripMenuItem.Click += AboutMenuItem_Click;
//
// MainWindow
//
- this.AllowDrop = true;
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 664);
- this.Controls.Add(this.mainMenu);
- this.Controls.Add(this.clearEepromButton);
- this.Controls.Add(this.fileGroupBox);
- this.Controls.Add(this.flashButton);
- this.Controls.Add(this.autoflashCheckbox);
- this.Controls.Add(this.logTextBox);
- this.Controls.Add(this.resetButton);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MainMenuStrip = this.mainMenu;
- this.MinimumSize = new System.Drawing.Size(816, 703);
- this.Name = "MainWindow";
- this.Text = "QMK Toolbox";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing);
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainWindow_FormClosed);
- this.Load += new System.EventHandler(this.MainWindow_Load);
- this.Shown += new System.EventHandler(this.MainWindow_Shown);
- this.DragDrop += new System.Windows.Forms.DragEventHandler(this.MainWindow_DragDrop);
- this.DragEnter += new System.Windows.Forms.DragEventHandler(this.MainWindow_DragEnter);
- ((System.ComponentModel.ISupportInitialize)(this.windowStateBindingSource)).EndInit();
- this.fileGroupBox.ResumeLayout(false);
- this.fileGroupBox.PerformLayout();
- this.logContextMenu.ResumeLayout(false);
- this.mainMenu.ResumeLayout(false);
- this.mainMenu.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
+ AllowDrop = true;
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ ClientSize = new System.Drawing.Size(933, 766);
+ Controls.Add(mainMenu);
+ Controls.Add(clearEepromButton);
+ Controls.Add(fileGroupBox);
+ Controls.Add(flashButton);
+ Controls.Add(autoflashCheckbox);
+ Controls.Add(logTextBox);
+ Controls.Add(resetButton);
+ Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
+ MainMenuStrip = mainMenu;
+ Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ MinimumSize = new System.Drawing.Size(949, 805);
+ Name = "MainWindow";
+ Text = "QMK Toolbox";
+ FormClosing += MainWindow_FormClosing;
+ FormClosed += MainWindow_FormClosed;
+ Load += MainWindow_Load;
+ Shown += MainWindow_Shown;
+ DragDrop += MainWindow_DragDrop;
+ DragEnter += MainWindow_DragEnter;
+ ((System.ComponentModel.ISupportInitialize)windowStateBindingSource).EndInit();
+ fileGroupBox.ResumeLayout(false);
+ fileGroupBox.PerformLayout();
+ logContextMenu.ResumeLayout(false);
+ mainMenu.ResumeLayout(false);
+ mainMenu.PerformLayout();
+ ResumeLayout(false);
+ PerformLayout();
}
#endregion
diff --git a/windows/QMK Toolbox/MainWindow.resx b/windows/QMK Toolbox/MainWindow.resx
index 6d38f2dd3d..891194bab7 100644
--- a/windows/QMK Toolbox/MainWindow.resx
+++ b/windows/QMK Toolbox/MainWindow.resx
@@ -1,17 +1,17 @@
-