mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
UI Tweaks
This commit is contained in:
@@ -327,6 +327,8 @@ public class NativeMethods
|
||||
|
||||
}
|
||||
|
||||
[DllImport("User32.dll")]
|
||||
public static extern bool SetForegroundWindow(IntPtr handle);
|
||||
|
||||
private const int WM_SYSCOMMAND = 0x0112;
|
||||
private const int SC_MONITORPOWER = 0xF170;
|
||||
|
||||
@@ -181,14 +181,8 @@ namespace GHelper
|
||||
CheckForUpdatesAsync();
|
||||
});
|
||||
|
||||
Activated += SettingsForm_Activated;
|
||||
|
||||
}
|
||||
|
||||
private void SettingsForm_Activated(object? sender, EventArgs e)
|
||||
{
|
||||
if (fans != null && fans.Text != "") fans.BringToFront();
|
||||
}
|
||||
|
||||
protected override void WndProc(ref Message m)
|
||||
{
|
||||
|
||||
BIN
docs/ua.png
BIN
docs/ua.png
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user