Skip to content

Commit

Permalink
[Windows] Fix positioning for key tester and HID console windows (#465)
Browse files Browse the repository at this point in the history
* [Windows] Fix positioning for key tester and HID console windows

* Make key tester stay above main window

* Fix import

* More tweaks by VS

* Might as well poke the other forms too
  • Loading branch information
fauxpark authored Mar 22, 2024
1 parent 1781cdc commit 370f0dc
Show file tree
Hide file tree
Showing 11 changed files with 2,013 additions and 2,019 deletions.
200 changes: 101 additions & 99 deletions windows/QMK Toolbox/HidConsole/HidConsoleWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions windows/QMK Toolbox/HidConsole/HidConsoleWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public static HidConsoleWindow GetInstance()

private void HidConsoleWindow_Load(object sender, EventArgs e)
{
CenterToParent();

consoleListener.consoleDeviceConnected += ConsoleDeviceConnected;
consoleListener.consoleDeviceDisconnected += ConsoleDeviceDisconnected;
consoleListener.consoleReportReceived += ConsoleReportReceived;
Expand Down
50 changes: 25 additions & 25 deletions windows/QMK Toolbox/HidConsole/HidConsoleWindow.resx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
Expand All @@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
Expand Down
Loading

0 comments on commit 370f0dc

Please sign in to comment.