mirror of
https://github.com/Macro-Deck-App/Macro-Deck.git
synced 2026-06-06 05:00:02 +08:00
* - Bump .NET to version 6.0 - Bump System.Drawing.Common to version 6.0 - Bump CefSharp to version 106.0.290 - Bump Cottle to version 2.0.8 - Bump plugin api version to 40 - Removed VariableManager.Variables - Made VariableManager.ListVariables internal - Removed VariableManager.SetValue(string name, object value, VariableType type, MacroDeckPlugin plugin, bool save = true) - Removed VariableManager.SetValue(string name, object value, VariableType type, MacroDeckPlugin plugin, string[] suggestions, bool save = true) - Removed "Macro Deck started with administrator privileges" warning - Fixed bug: Child folders are not deleted properly when parent folder is deleted - Optimized code * Created ApplicationPaths class (#306) * Gets decryption to read ALL bytes (#308) - apprently in .net6 CryptoStream doesn't necessarily read all the bytes you tell it to - got it workin with a loop - then replaced that with a simple StreamReader I saw from another place * Feature/refactor code (#311) * Created ApplicationPaths class * Feature/migrate net6 (#309) * Created ApplicationPaths class (#306) * Gets decryption to read ALL bytes (#308) - apprently in .net6 CryptoStream doesn't necessarily read all the bytes you tell it to - got it workin with a loop - then replaced that with a simple StreamReader I saw from another place Co-authored-by: RecklessBoon <16234384+RecklessBoon@users.noreply.github.com> * - Changed to file scoped namespace - Cleaned up the MacroDeck class * Clean up * Changed repository base directory * Removed unused files * Delete dotnet.yml * Update README.md * Added Program.cs Added Backup back * Added Program.cs * Clean up Co-authored-by: RecklessBoon <16234384+RecklessBoon@users.noreply.github.com> * Feature/refactor code (#313) * Created ApplicationPaths class * Feature/migrate net6 (#309) * Created ApplicationPaths class (#306) * Gets decryption to read ALL bytes (#308) - apprently in .net6 CryptoStream doesn't necessarily read all the bytes you tell it to - got it workin with a loop - then replaced that with a simple StreamReader I saw from another place Co-authored-by: RecklessBoon <16234384+RecklessBoon@users.noreply.github.com> * - Changed to file scoped namespace - Cleaned up the MacroDeck class * Clean up * Changed repository base directory * Removed unused files * Delete dotnet.yml * Update README.md * Added Program.cs Added Backup back * Added Program.cs * Clean up * Removed unused icon pack classes * Fixed issue when Macro Deck is started without start parameters * Fixed restart parameters * Added fallback in the CheckRunningInstance method * Sets up test suite, adds one test (#312) Co-authored-by: RecklessBoon <16234384+RecklessBoon@users.noreply.github.com> Co-authored-by: RecklessBoon <16234384+RecklessBoon@users.noreply.github.com>
82 lines
3.2 KiB
C#
82 lines
3.2 KiB
C#
|
|
using System.ComponentModel;
|
|
using System.Windows.Forms;
|
|
using SuchByte.MacroDeck.Hotkeys;
|
|
|
|
namespace SuchByte.MacroDeck.GUI.Dialogs
|
|
{
|
|
partial class HotkeySelector
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private 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)
|
|
{
|
|
HotkeyManager.Resume();
|
|
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()
|
|
{
|
|
this.lblPressKeysNow = new System.Windows.Forms.Label();
|
|
this.lblDetectedKeys = new System.Windows.Forms.Label();
|
|
this.SuspendLayout();
|
|
//
|
|
// lblPressKeysNow
|
|
//
|
|
this.lblPressKeysNow.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.lblPressKeysNow.Location = new System.Drawing.Point(4, 41);
|
|
this.lblPressKeysNow.Name = "lblPressKeysNow";
|
|
this.lblPressKeysNow.Size = new System.Drawing.Size(405, 59);
|
|
this.lblPressKeysNow.TabIndex = 2;
|
|
this.lblPressKeysNow.Text = "Press the keys now";
|
|
this.lblPressKeysNow.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
|
this.lblPressKeysNow.UseMnemonic = false;
|
|
//
|
|
// lblDetectedKeys
|
|
//
|
|
this.lblDetectedKeys.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.lblDetectedKeys.Location = new System.Drawing.Point(4, 129);
|
|
this.lblDetectedKeys.Name = "lblDetectedKeys";
|
|
this.lblDetectedKeys.Size = new System.Drawing.Size(405, 31);
|
|
this.lblDetectedKeys.TabIndex = 3;
|
|
this.lblDetectedKeys.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
this.lblDetectedKeys.UseMnemonic = false;
|
|
//
|
|
// HotkeySelector
|
|
//
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.ClientSize = new System.Drawing.Size(413, 200);
|
|
this.Controls.Add(this.lblDetectedKeys);
|
|
this.Controls.Add(this.lblPressKeysNow);
|
|
this.Name = "HotkeySelector";
|
|
this.Text = "HotkeySelector";
|
|
this.Load += new System.EventHandler(this.HotkeySelector_Load);
|
|
this.Controls.SetChildIndex(this.lblPressKeysNow, 0);
|
|
this.Controls.SetChildIndex(this.lblDetectedKeys, 0);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label lblPressKeysNow;
|
|
private Label lblDetectedKeys;
|
|
}
|
|
} |