mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Keyboard Reading
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
using CustomControls;
|
||||
using GHelper.AnimeMatrix;
|
||||
using GHelper.Gpu;
|
||||
using NAudio.CoreAudioApi;
|
||||
using NAudio.Wave;
|
||||
using Starlight.AnimeMatrix;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Text.Json;
|
||||
@@ -22,6 +17,8 @@ namespace GHelper
|
||||
private ContextMenuStrip contextMenuStrip = new CustomContextMenu();
|
||||
private ToolStripMenuItem menuSilent, menuBalanced, menuTurbo, menuEco, menuStandard, menuUltimate, menuOptimized;
|
||||
|
||||
public ToastForm toast = new ToastForm();
|
||||
|
||||
public static System.Timers.Timer aTimer = default!;
|
||||
public static Point trayPoint;
|
||||
|
||||
@@ -30,7 +27,6 @@ namespace GHelper
|
||||
public string perfName = "Balanced";
|
||||
|
||||
public AniMatrix matrix;
|
||||
|
||||
public Fans fans;
|
||||
public Extra keyb;
|
||||
|
||||
@@ -42,7 +38,6 @@ namespace GHelper
|
||||
public SettingsForm()
|
||||
{
|
||||
|
||||
|
||||
InitializeComponent();
|
||||
InitTheme(true);
|
||||
|
||||
@@ -157,6 +152,11 @@ namespace GHelper
|
||||
|
||||
}
|
||||
|
||||
public void RunToast(string text)
|
||||
{
|
||||
toast.RunToast(text);
|
||||
}
|
||||
|
||||
public void SetContextMenu()
|
||||
{
|
||||
|
||||
@@ -1145,7 +1145,7 @@ namespace GHelper
|
||||
{
|
||||
try
|
||||
{
|
||||
Program.toast.RunToast(perfName);
|
||||
toast.RunToast(perfName);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user