mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Merge branch 'main' into asus-mouse-support
# Conflicts: # app/Settings.Designer.cs # app/Settings.cs
This commit is contained in:
@@ -16,7 +16,8 @@ namespace GHelper.AutoUpdate
|
|||||||
public AutoUpdateControl(SettingsForm settingsForm)
|
public AutoUpdateControl(SettingsForm settingsForm)
|
||||||
{
|
{
|
||||||
settings = settingsForm;
|
settings = settingsForm;
|
||||||
settings.SetVersionLabel(Properties.Strings.VersionLabel + ": " + Assembly.GetExecutingAssembly().GetName().Version);
|
var appVersion = new Version(Assembly.GetExecutingAssembly().GetName().Version.ToString());
|
||||||
|
settings.SetVersionLabel(Properties.Strings.VersionLabel + $": {appVersion.Major}.{appVersion.Minor}.{appVersion.Build}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CheckForUpdates()
|
public void CheckForUpdates()
|
||||||
|
|||||||
@@ -545,9 +545,16 @@ namespace GHelper.Input
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string executable = command.Split(' ')[0];
|
|
||||||
string arguments = command.Substring(executable.Length).Trim();
|
//string executable = command.Split(' ')[0];
|
||||||
Process proc = Process.Start(executable, arguments);
|
//string arguments = command.Substring(executable.Length).Trim();
|
||||||
|
|
||||||
|
ProcessStartInfo startInfo = new ProcessStartInfo();
|
||||||
|
startInfo.UseShellExecute = true;
|
||||||
|
startInfo.WorkingDirectory = Environment.CurrentDirectory;
|
||||||
|
startInfo.FileName = command;
|
||||||
|
//startInfo.Arguments = arguments;
|
||||||
|
Process proc = Process.Start(startInfo);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
20
app/Properties/Resources.Designer.cs
generated
20
app/Properties/Resources.Designer.cs
generated
@@ -410,6 +410,16 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_quit_32 {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8-quit-32", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -490,6 +500,16 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap icons8_software_32_white {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("icons8-software-32-white", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -118,24 +118,30 @@
|
|||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="icons8-gauge-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-gauge-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="brightness_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="brightness_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\brightness-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\brightness-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="icons8_temperature_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-temperature-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="backlight_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="backlight_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\backlight-down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\backlight-down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8_mute_unmute_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_mute_unmute_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-mute-unmute-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-mute-unmute-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="icons8-quit-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-quit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="icons8-fiat-500-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-fiat-500-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-fiat-500-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-fiat-500-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8_microphone_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_microphone_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-microphone-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-microphone-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="icons8_voltage_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-voltage-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="icons8-project-management-48 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-project-management-48 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-project-management-48 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-project-management-48 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -145,6 +151,9 @@
|
|||||||
<data name="icons8_touchpad_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_touchpad_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-touchpad-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-touchpad-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="icons8-automation-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-automation-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="icons8-help-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-help-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-help-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-help-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -154,8 +163,8 @@
|
|||||||
<data name="icons8-game-controller-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-game-controller-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-game-controller-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-game-controller-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-matrix-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_video_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-matrix-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-video-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-refresh-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-refresh-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-refresh-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-refresh-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@@ -181,6 +190,12 @@
|
|||||||
<data name="eco" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="eco" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\eco.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\eco.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="icons8-video-card-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-video-card-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8-rocket-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-rocket-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="icons8_edit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_edit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -208,8 +223,20 @@
|
|||||||
<data name="icons8_remove_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_remove_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-remove-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-remove-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8_video_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-matrix-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-video-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-matrix-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8-keyboard-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-keyboard-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8_fan_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-fan-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8_software_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-software-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="icons8-gauge-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\icons8-gauge-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-leaf-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-leaf-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-leaf-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-leaf-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@@ -217,44 +244,23 @@
|
|||||||
<data name="ultimate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ultimate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\ultimate.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\ultimate.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-rocket-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-rocket-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="backlight" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="backlight" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\backlight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\backlight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-settings-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-settings-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-settings-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-settings-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-keyboard-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_processor_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-keyboard-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-processor-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
|
||||||
<data name="icons8-automation-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-automation-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-laptop-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-laptop-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-laptop-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-laptop-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8-video-card-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-video-card-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="icons8_fan_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-fan-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="icons8_processor_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-processor-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="icons8_rocket_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_rocket_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-rocket-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-rocket-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8_software_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8-software-32-white" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-software-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-software-32-white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
|
||||||
<data name="icons8_temperature_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-temperature-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="icons8_voltage_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\icons8-voltage-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
</data>
|
||||||
<data name="icons8_maus_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="icons8_maus_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\icons8-maus-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\icons8-maus-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
|||||||
@@ -190,25 +190,25 @@
|
|||||||
<value>Taikyti automatiškai</value>
|
<value>Taikyti automatiškai</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AutoMode" xml:space="preserve">
|
<data name="AutoMode" xml:space="preserve">
|
||||||
<value>Autom.</value>
|
<value>Automatinis</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="AutoRefreshTooltip" xml:space="preserve">
|
<data name="AutoRefreshTooltip" xml:space="preserve">
|
||||||
<value>Nustato 60Hz, kad išsaugotų akumuliatoriaus įkrovą, ir atgal, kai prijungtas prie lizdo</value>
|
<value>Nustato 60Hz, kad stokotų akumuliatorių, ir atgal, kai prijungtas prie lizdo</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Awake" xml:space="preserve">
|
<data name="Awake" xml:space="preserve">
|
||||||
<value>Pabudęs</value>
|
<value>Pabudęs</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BacklightTimeout" xml:space="preserve">
|
<data name="BacklightTimeout" xml:space="preserve">
|
||||||
<value>Skirtasis laikas naudojant lizdą / akumuliatorių (0 – ĮJUNGTA)</value>
|
<value>Laiko riba su lizdu / akumuliatoriumi (0 – ĮJUNGTA)</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Balanced" xml:space="preserve">
|
<data name="Balanced" xml:space="preserve">
|
||||||
<value>Balansuotas</value>
|
<value>Balansuotas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BatteryChargeLimit" xml:space="preserve">
|
<data name="BatteryChargeLimit" xml:space="preserve">
|
||||||
<value>Akumuliatoriaus įkrovos riba</value>
|
<value>Įkrovos riba</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BatteryHealth" xml:space="preserve">
|
<data name="BatteryHealth" xml:space="preserve">
|
||||||
<value>Akumuliatoriaus sveikata</value>
|
<value>Sveikata</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BiosAndDriverUpdates" xml:space="preserve">
|
<data name="BiosAndDriverUpdates" xml:space="preserve">
|
||||||
<value>BIOS ir tvarkyklių naujinimai</value>
|
<value>BIOS ir tvarkyklių naujinimai</value>
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
<value>CPU spartinimas</value>
|
<value>CPU spartinimas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Custom" xml:space="preserve">
|
<data name="Custom" xml:space="preserve">
|
||||||
<value>Tinkinta</value>
|
<value>Tinkintas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Default" xml:space="preserve">
|
<data name="Default" xml:space="preserve">
|
||||||
<value>Numatytas</value>
|
<value>Numatytas</value>
|
||||||
@@ -342,13 +342,13 @@ Vis tiek norite tęsti?</value>
|
|||||||
<value>Sustabdyti visas GPU naudojančias programėles, kai perjungiama į ekonomišką režimą</value>
|
<value>Sustabdyti visas GPU naudojančias programėles, kai perjungiama į ekonomišką režimą</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LaptopBacklight" xml:space="preserve">
|
<data name="LaptopBacklight" xml:space="preserve">
|
||||||
<value>Nešiojamojo kompiuterio apšvietimas</value>
|
<value>Apšvietimas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LaptopKeyboard" xml:space="preserve">
|
<data name="LaptopKeyboard" xml:space="preserve">
|
||||||
<value>Nešiojamojo kompiuterio klaviatūra</value>
|
<value>Klaviatūra</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LaptopScreen" xml:space="preserve">
|
<data name="LaptopScreen" xml:space="preserve">
|
||||||
<value>Nešiojamojo kompiuterio ekranas</value>
|
<value>Ekranas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Lid" xml:space="preserve">
|
<data name="Lid" xml:space="preserve">
|
||||||
<value>Korpusas</value>
|
<value>Korpusas</value>
|
||||||
@@ -399,10 +399,10 @@ Vis tiek norite tęsti?</value>
|
|||||||
<value>Mikrofono nutildymas</value>
|
<value>Mikrofono nutildymas</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="NewUpdates" xml:space="preserve">
|
<data name="NewUpdates" xml:space="preserve">
|
||||||
<value>Nauji naujinimai</value>
|
<value>Prieinami naujinimai</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="NoNewUpdates" xml:space="preserve">
|
<data name="NoNewUpdates" xml:space="preserve">
|
||||||
<value>Nėra naujų naujinimų</value>
|
<value>Nėra prieinamų naujinimų</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="OpenGHelper" xml:space="preserve">
|
<data name="OpenGHelper" xml:space="preserve">
|
||||||
<value>Atidaryti G-Helper langą</value>
|
<value>Atidaryti G-Helper langą</value>
|
||||||
@@ -516,7 +516,7 @@ Vis tiek norite tęsti?</value>
|
|||||||
<value>Išjungti naudojant akumuliatorių</value>
|
<value>Išjungti naudojant akumuliatorių</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="UltimateGPUTooltip" xml:space="preserve">
|
<data name="UltimateGPUTooltip" xml:space="preserve">
|
||||||
<value>Nukreipia nešiojamojo kompiuterio ekraną į dGPU, kad maksimizuotų kadrų dažnį</value>
|
<value>Nukreipia ekraną į dGPU, kad maksimizuotų kadrų dažnį</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="UltimateMode" xml:space="preserve">
|
<data name="UltimateMode" xml:space="preserve">
|
||||||
<value>Maksimalus</value>
|
<value>Maksimalus</value>
|
||||||
|
|||||||
BIN
app/Resources/icons8-quit-32.png
Normal file
BIN
app/Resources/icons8-quit-32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 576 B |
BIN
app/Resources/icons8-software-32-white.png
Normal file
BIN
app/Resources/icons8-software-32-white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 500 B |
151
app/Settings.Designer.cs
generated
151
app/Settings.Designer.cs
generated
@@ -46,8 +46,10 @@ namespace GHelper
|
|||||||
pictureBattery = new PictureBox();
|
pictureBattery = new PictureBox();
|
||||||
labelBatteryTitle = new Label();
|
labelBatteryTitle = new Label();
|
||||||
panelFooter = new Panel();
|
panelFooter = new Panel();
|
||||||
buttonUpdates = new RButton();
|
tableButtons = new TableLayoutPanel();
|
||||||
|
buttonKeyboard = new RButton();
|
||||||
buttonQuit = new RButton();
|
buttonQuit = new RButton();
|
||||||
|
buttonUpdates = new RButton();
|
||||||
checkStartup = new CheckBox();
|
checkStartup = new CheckBox();
|
||||||
panelPerformance = new Panel();
|
panelPerformance = new Panel();
|
||||||
tablePerf = new TableLayoutPanel();
|
tablePerf = new TableLayoutPanel();
|
||||||
@@ -85,7 +87,6 @@ namespace GHelper
|
|||||||
labelSreen = new Label();
|
labelSreen = new Label();
|
||||||
panelKeyboard = new Panel();
|
panelKeyboard = new Panel();
|
||||||
tableLayoutKeyboard = new TableLayoutPanel();
|
tableLayoutKeyboard = new TableLayoutPanel();
|
||||||
buttonKeyboard = new RButton();
|
|
||||||
panelColor = new Panel();
|
panelColor = new Panel();
|
||||||
pictureColor2 = new PictureBox();
|
pictureColor2 = new PictureBox();
|
||||||
pictureColor = new PictureBox();
|
pictureColor = new PictureBox();
|
||||||
@@ -95,7 +96,6 @@ namespace GHelper
|
|||||||
pictureKeyboard = new PictureBox();
|
pictureKeyboard = new PictureBox();
|
||||||
labelKeyboard = new Label();
|
labelKeyboard = new Label();
|
||||||
labelVersion = new Label();
|
labelVersion = new Label();
|
||||||
labelModel = new Label();
|
|
||||||
panelVersion = new Panel();
|
panelVersion = new Panel();
|
||||||
panelPeripherals = new Panel();
|
panelPeripherals = new Panel();
|
||||||
tableLayoutPeripherals = new TableLayoutPanel();
|
tableLayoutPeripherals = new TableLayoutPanel();
|
||||||
@@ -113,6 +113,7 @@ namespace GHelper
|
|||||||
panelBatteryTitle.SuspendLayout();
|
panelBatteryTitle.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureBattery).BeginInit();
|
((System.ComponentModel.ISupportInitialize)pictureBattery).BeginInit();
|
||||||
panelFooter.SuspendLayout();
|
panelFooter.SuspendLayout();
|
||||||
|
tableButtons.SuspendLayout();
|
||||||
panelPerformance.SuspendLayout();
|
panelPerformance.SuspendLayout();
|
||||||
tablePerf.SuspendLayout();
|
tablePerf.SuspendLayout();
|
||||||
panelCPUTitle.SuspendLayout();
|
panelCPUTitle.SuspendLayout();
|
||||||
@@ -342,34 +343,54 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
panelFooter.AutoSize = true;
|
panelFooter.AutoSize = true;
|
||||||
panelFooter.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
panelFooter.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
panelFooter.Controls.Add(buttonUpdates);
|
panelFooter.Controls.Add(tableButtons);
|
||||||
panelFooter.Controls.Add(buttonQuit);
|
|
||||||
panelFooter.Controls.Add(checkStartup);
|
|
||||||
panelFooter.Dock = DockStyle.Top;
|
panelFooter.Dock = DockStyle.Top;
|
||||||
panelFooter.Location = new Point(8, 1099);
|
panelFooter.Location = new Point(8, 1099);
|
||||||
panelFooter.Margin = new Padding(0);
|
panelFooter.Margin = new Padding(0);
|
||||||
panelFooter.Name = "panelFooter";
|
panelFooter.Name = "panelFooter";
|
||||||
panelFooter.Padding = new Padding(15);
|
panelFooter.Padding = new Padding(20);
|
||||||
panelFooter.Size = new Size(621, 69);
|
panelFooter.Size = new Size(621, 98);
|
||||||
panelFooter.TabIndex = 7;
|
panelFooter.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// buttonUpdates
|
// tableButtons
|
||||||
//
|
//
|
||||||
buttonUpdates.AccessibleName = "BIOS and Driver Updates";
|
tableButtons.AutoSize = true;
|
||||||
buttonUpdates.Activated = false;
|
tableButtons.ColumnCount = 3;
|
||||||
buttonUpdates.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
tableButtons.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F));
|
||||||
buttonUpdates.BackColor = SystemColors.ControlLight;
|
tableButtons.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F));
|
||||||
buttonUpdates.BorderColor = Color.Transparent;
|
tableButtons.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F));
|
||||||
buttonUpdates.BorderRadius = 2;
|
tableButtons.Controls.Add(buttonKeyboard, 0, 0);
|
||||||
buttonUpdates.FlatStyle = FlatStyle.Flat;
|
tableButtons.Controls.Add(buttonQuit, 2, 0);
|
||||||
buttonUpdates.Location = new Point(322, 18);
|
tableButtons.Controls.Add(buttonUpdates, 1, 0);
|
||||||
buttonUpdates.Margin = new Padding(6, 3, 6, 3);
|
tableButtons.Dock = DockStyle.Top;
|
||||||
buttonUpdates.Name = "buttonUpdates";
|
tableButtons.Location = new Point(20, 20);
|
||||||
buttonUpdates.Secondary = true;
|
tableButtons.Name = "tableButtons";
|
||||||
buttonUpdates.Size = new Size(135, 33);
|
tableButtons.RowCount = 1;
|
||||||
buttonUpdates.TabIndex = 22;
|
tableButtons.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
||||||
buttonUpdates.Text = "Updates";
|
tableButtons.Size = new Size(581, 58);
|
||||||
buttonUpdates.UseVisualStyleBackColor = false;
|
tableButtons.TabIndex = 25;
|
||||||
|
//
|
||||||
|
// buttonKeyboard
|
||||||
|
//
|
||||||
|
buttonKeyboard.AccessibleName = "Extra Settings";
|
||||||
|
buttonKeyboard.Activated = false;
|
||||||
|
buttonKeyboard.BackColor = SystemColors.ControlLight;
|
||||||
|
buttonKeyboard.BorderColor = Color.Transparent;
|
||||||
|
buttonKeyboard.BorderRadius = 2;
|
||||||
|
buttonKeyboard.Dock = DockStyle.Top;
|
||||||
|
buttonKeyboard.FlatAppearance.BorderSize = 0;
|
||||||
|
buttonKeyboard.FlatStyle = FlatStyle.Flat;
|
||||||
|
buttonKeyboard.Image = Properties.Resources.icons8_settings_32;
|
||||||
|
buttonKeyboard.ImageAlign = ContentAlignment.MiddleRight;
|
||||||
|
buttonKeyboard.Location = new Point(4, 4);
|
||||||
|
buttonKeyboard.Margin = new Padding(4);
|
||||||
|
buttonKeyboard.Name = "buttonKeyboard";
|
||||||
|
buttonKeyboard.Secondary = true;
|
||||||
|
buttonKeyboard.Size = new Size(185, 50);
|
||||||
|
buttonKeyboard.TabIndex = 24;
|
||||||
|
buttonKeyboard.Text = Properties.Strings.Extra;
|
||||||
|
buttonKeyboard.TextImageRelation = TextImageRelation.ImageBeforeText;
|
||||||
|
buttonKeyboard.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
// buttonQuit
|
// buttonQuit
|
||||||
//
|
//
|
||||||
@@ -380,20 +401,41 @@ namespace GHelper
|
|||||||
buttonQuit.BorderColor = Color.Transparent;
|
buttonQuit.BorderColor = Color.Transparent;
|
||||||
buttonQuit.BorderRadius = 2;
|
buttonQuit.BorderRadius = 2;
|
||||||
buttonQuit.FlatStyle = FlatStyle.Flat;
|
buttonQuit.FlatStyle = FlatStyle.Flat;
|
||||||
buttonQuit.Location = new Point(467, 18);
|
buttonQuit.Image = Properties.Resources.icons8_quit_32;
|
||||||
buttonQuit.Margin = new Padding(6, 3, 6, 3);
|
buttonQuit.Location = new Point(513, 4);
|
||||||
|
buttonQuit.Margin = new Padding(4);
|
||||||
buttonQuit.Name = "buttonQuit";
|
buttonQuit.Name = "buttonQuit";
|
||||||
buttonQuit.Secondary = true;
|
buttonQuit.Secondary = true;
|
||||||
buttonQuit.Size = new Size(135, 33);
|
buttonQuit.Size = new Size(64, 50);
|
||||||
buttonQuit.TabIndex = 23;
|
buttonQuit.TabIndex = 23;
|
||||||
buttonQuit.Text = Properties.Strings.Quit;
|
|
||||||
buttonQuit.UseVisualStyleBackColor = false;
|
buttonQuit.UseVisualStyleBackColor = false;
|
||||||
//
|
//
|
||||||
|
// buttonUpdates
|
||||||
|
//
|
||||||
|
buttonUpdates.AccessibleName = "BIOS and Driver Updates";
|
||||||
|
buttonUpdates.Activated = false;
|
||||||
|
buttonUpdates.BackColor = SystemColors.ControlLight;
|
||||||
|
buttonUpdates.BorderColor = Color.Transparent;
|
||||||
|
buttonUpdates.BorderRadius = 2;
|
||||||
|
buttonUpdates.Dock = DockStyle.Top;
|
||||||
|
buttonUpdates.FlatStyle = FlatStyle.Flat;
|
||||||
|
buttonUpdates.Image = Properties.Resources.icons8_software_32_white;
|
||||||
|
buttonUpdates.ImageAlign = ContentAlignment.MiddleRight;
|
||||||
|
buttonUpdates.Location = new Point(197, 4);
|
||||||
|
buttonUpdates.Margin = new Padding(4);
|
||||||
|
buttonUpdates.Name = "buttonUpdates";
|
||||||
|
buttonUpdates.Secondary = true;
|
||||||
|
buttonUpdates.Size = new Size(185, 50);
|
||||||
|
buttonUpdates.TabIndex = 22;
|
||||||
|
buttonUpdates.Text = "Updates";
|
||||||
|
buttonUpdates.TextImageRelation = TextImageRelation.ImageBeforeText;
|
||||||
|
buttonUpdates.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
// checkStartup
|
// checkStartup
|
||||||
//
|
//
|
||||||
checkStartup.AutoSize = true;
|
checkStartup.AutoSize = true;
|
||||||
checkStartup.Location = new Point(20, 21);
|
checkStartup.Location = new Point(27, 12);
|
||||||
checkStartup.Margin = new Padding(6, 3, 6, 3);
|
checkStartup.Margin = new Padding(8, 4, 8, 4);
|
||||||
checkStartup.Name = "checkStartup";
|
checkStartup.Name = "checkStartup";
|
||||||
checkStartup.Size = new Size(157, 29);
|
checkStartup.Size = new Size(157, 29);
|
||||||
checkStartup.TabIndex = 21;
|
checkStartup.TabIndex = 21;
|
||||||
@@ -982,7 +1024,6 @@ namespace GHelper
|
|||||||
tableLayoutKeyboard.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
tableLayoutKeyboard.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
||||||
tableLayoutKeyboard.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
tableLayoutKeyboard.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
||||||
tableLayoutKeyboard.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
tableLayoutKeyboard.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
|
||||||
tableLayoutKeyboard.Controls.Add(buttonKeyboard, 0, 0);
|
|
||||||
tableLayoutKeyboard.Controls.Add(panelColor, 0, 0);
|
tableLayoutKeyboard.Controls.Add(panelColor, 0, 0);
|
||||||
tableLayoutKeyboard.Controls.Add(comboKeyboard, 0, 0);
|
tableLayoutKeyboard.Controls.Add(comboKeyboard, 0, 0);
|
||||||
tableLayoutKeyboard.Dock = DockStyle.Top;
|
tableLayoutKeyboard.Dock = DockStyle.Top;
|
||||||
@@ -994,28 +1035,6 @@ namespace GHelper
|
|||||||
tableLayoutKeyboard.Size = new Size(591, 47);
|
tableLayoutKeyboard.Size = new Size(591, 47);
|
||||||
tableLayoutKeyboard.TabIndex = 39;
|
tableLayoutKeyboard.TabIndex = 39;
|
||||||
//
|
//
|
||||||
// buttonKeyboard
|
|
||||||
//
|
|
||||||
buttonKeyboard.AccessibleName = "Extra Settings";
|
|
||||||
buttonKeyboard.Activated = false;
|
|
||||||
buttonKeyboard.BackColor = SystemColors.ControlLight;
|
|
||||||
buttonKeyboard.BorderColor = Color.Transparent;
|
|
||||||
buttonKeyboard.BorderRadius = 2;
|
|
||||||
buttonKeyboard.Dock = DockStyle.Top;
|
|
||||||
buttonKeyboard.FlatAppearance.BorderSize = 0;
|
|
||||||
buttonKeyboard.FlatStyle = FlatStyle.Flat;
|
|
||||||
buttonKeyboard.Image = Properties.Resources.icons8_settings_32;
|
|
||||||
buttonKeyboard.ImageAlign = ContentAlignment.MiddleRight;
|
|
||||||
buttonKeyboard.Location = new Point(397, 6);
|
|
||||||
buttonKeyboard.Margin = new Padding(3, 6, 3, 6);
|
|
||||||
buttonKeyboard.Name = "buttonKeyboard";
|
|
||||||
buttonKeyboard.Secondary = true;
|
|
||||||
buttonKeyboard.Size = new Size(191, 33);
|
|
||||||
buttonKeyboard.TabIndex = 15;
|
|
||||||
buttonKeyboard.Text = Properties.Strings.Extra;
|
|
||||||
buttonKeyboard.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
||||||
buttonKeyboard.UseVisualStyleBackColor = false;
|
|
||||||
//
|
|
||||||
// panelColor
|
// panelColor
|
||||||
//
|
//
|
||||||
panelColor.AutoSize = true;
|
panelColor.AutoSize = true;
|
||||||
@@ -1118,32 +1137,22 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// labelVersion
|
// labelVersion
|
||||||
//
|
//
|
||||||
|
labelVersion.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
labelVersion.Cursor = Cursors.Hand;
|
labelVersion.Cursor = Cursors.Hand;
|
||||||
labelVersion.Font = new Font("Segoe UI", 9F, FontStyle.Underline, GraphicsUnit.Point);
|
labelVersion.Font = new Font("Segoe UI", 9F, FontStyle.Underline, GraphicsUnit.Point);
|
||||||
labelVersion.ForeColor = SystemColors.ControlDark;
|
labelVersion.ForeColor = SystemColors.ControlDark;
|
||||||
labelVersion.Location = new Point(21, 9);
|
labelVersion.Location = new Point(396, 12);
|
||||||
labelVersion.Margin = new Padding(6, 0, 6, 0);
|
labelVersion.Margin = new Padding(8, 0, 8, 0);
|
||||||
labelVersion.Name = "labelVersion";
|
labelVersion.Name = "labelVersion";
|
||||||
labelVersion.Size = new Size(225, 24);
|
labelVersion.Size = new Size(225, 24);
|
||||||
labelVersion.TabIndex = 37;
|
labelVersion.TabIndex = 37;
|
||||||
labelVersion.Text = "v.0";
|
labelVersion.Text = "v.0";
|
||||||
//
|
labelVersion.TextAlign = ContentAlignment.TopRight;
|
||||||
// labelModel
|
|
||||||
//
|
|
||||||
labelModel.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
||||||
labelModel.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
||||||
labelModel.ForeColor = SystemColors.ControlDark;
|
|
||||||
labelModel.Location = new Point(298, 9);
|
|
||||||
labelModel.Margin = new Padding(6, 0, 6, 0);
|
|
||||||
labelModel.Name = "labelModel";
|
|
||||||
labelModel.Size = new Size(300, 24);
|
|
||||||
labelModel.TabIndex = 38;
|
|
||||||
labelModel.TextAlign = ContentAlignment.TopRight;
|
|
||||||
//
|
//
|
||||||
// panelVersion
|
// panelVersion
|
||||||
//
|
//
|
||||||
panelVersion.Controls.Add(labelVersion);
|
panelVersion.Controls.Add(labelVersion);
|
||||||
panelVersion.Controls.Add(labelModel);
|
panelVersion.Controls.Add(checkStartup);
|
||||||
panelVersion.Dock = DockStyle.Top;
|
panelVersion.Dock = DockStyle.Top;
|
||||||
panelVersion.Location = new Point(8, 1057);
|
panelVersion.Location = new Point(8, 1057);
|
||||||
panelVersion.Name = "panelVersion";
|
panelVersion.Name = "panelVersion";
|
||||||
@@ -1325,6 +1334,7 @@ namespace GHelper
|
|||||||
((System.ComponentModel.ISupportInitialize)pictureBattery).EndInit();
|
((System.ComponentModel.ISupportInitialize)pictureBattery).EndInit();
|
||||||
panelFooter.ResumeLayout(false);
|
panelFooter.ResumeLayout(false);
|
||||||
panelFooter.PerformLayout();
|
panelFooter.PerformLayout();
|
||||||
|
tableButtons.ResumeLayout(false);
|
||||||
panelPerformance.ResumeLayout(false);
|
panelPerformance.ResumeLayout(false);
|
||||||
panelPerformance.PerformLayout();
|
panelPerformance.PerformLayout();
|
||||||
tablePerf.ResumeLayout(false);
|
tablePerf.ResumeLayout(false);
|
||||||
@@ -1354,6 +1364,7 @@ namespace GHelper
|
|||||||
panelKeyboardTitle.PerformLayout();
|
panelKeyboardTitle.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureKeyboard).EndInit();
|
((System.ComponentModel.ISupportInitialize)pictureKeyboard).EndInit();
|
||||||
panelVersion.ResumeLayout(false);
|
panelVersion.ResumeLayout(false);
|
||||||
|
panelVersion.PerformLayout();
|
||||||
panelPeripherals.ResumeLayout(false);
|
panelPeripherals.ResumeLayout(false);
|
||||||
panelPeripherals.PerformLayout();
|
panelPeripherals.PerformLayout();
|
||||||
tableLayoutPeripherals.ResumeLayout(false);
|
tableLayoutPeripherals.ResumeLayout(false);
|
||||||
@@ -1401,7 +1412,6 @@ namespace GHelper
|
|||||||
private Label labelTipScreen;
|
private Label labelTipScreen;
|
||||||
private RButton buttonMiniled;
|
private RButton buttonMiniled;
|
||||||
private RButton buttonMatrix;
|
private RButton buttonMatrix;
|
||||||
private RButton buttonKeyboard;
|
|
||||||
private RButton buttonKeyboardColor;
|
private RButton buttonKeyboardColor;
|
||||||
private RButton buttonFans;
|
private RButton buttonFans;
|
||||||
private Slider sliderBattery;
|
private Slider sliderBattery;
|
||||||
@@ -1430,7 +1440,6 @@ namespace GHelper
|
|||||||
private Label labelBatteryTitle;
|
private Label labelBatteryTitle;
|
||||||
private Panel panelVersion;
|
private Panel panelVersion;
|
||||||
private Label labelVersion;
|
private Label labelVersion;
|
||||||
private Label labelModel;
|
|
||||||
private RButton buttonStopGPU;
|
private RButton buttonStopGPU;
|
||||||
private Panel panelPeripherals;
|
private Panel panelPeripherals;
|
||||||
private TableLayoutPanel tableLayoutPeripherals;
|
private TableLayoutPanel tableLayoutPeripherals;
|
||||||
@@ -1440,5 +1449,7 @@ namespace GHelper
|
|||||||
private RButton buttonPeripheral2;
|
private RButton buttonPeripheral2;
|
||||||
private RButton buttonPeripheral3;
|
private RButton buttonPeripheral3;
|
||||||
private RButton buttonPeripheral1;
|
private RButton buttonPeripheral1;
|
||||||
|
private RButton buttonKeyboard;
|
||||||
|
private TableLayoutPanel tableButtons;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -78,7 +78,7 @@ namespace GHelper
|
|||||||
checkStartup.Text = Properties.Strings.RunOnStartup;
|
checkStartup.Text = Properties.Strings.RunOnStartup;
|
||||||
|
|
||||||
buttonMatrix.Text = Properties.Strings.PictureGif;
|
buttonMatrix.Text = Properties.Strings.PictureGif;
|
||||||
buttonQuit.Text = Properties.Strings.Quit;
|
//buttonQuit.Text = Properties.Strings.Quit;
|
||||||
buttonUpdates.Text = Properties.Strings.Updates;
|
buttonUpdates.Text = Properties.Strings.Updates;
|
||||||
|
|
||||||
FormClosing += SettingsForm_FormClosing;
|
FormClosing += SettingsForm_FormClosing;
|
||||||
@@ -188,7 +188,7 @@ namespace GHelper
|
|||||||
buttonPeripheral2.Click += ButtonPeripheral_Click;
|
buttonPeripheral2.Click += ButtonPeripheral_Click;
|
||||||
buttonPeripheral3.Click += ButtonPeripheral_Click;
|
buttonPeripheral3.Click += ButtonPeripheral_Click;
|
||||||
|
|
||||||
labelModel.Text = AppConfig.GetModelShort() + (ProcessHelper.IsUserAdministrator() ? "." : "");
|
Text = "G-Helper " + (ProcessHelper.IsUserAdministrator() ? "—" : "-") + " " + AppConfig.GetModelShort();
|
||||||
TopMost = AppConfig.Is("topmost");
|
TopMost = AppConfig.Is("topmost");
|
||||||
|
|
||||||
//This will auto position the window again when it resizes. Might mess with position if people drag the window somewhere else.
|
//This will auto position the window again when it resizes. Might mess with position if people drag the window somewhere else.
|
||||||
@@ -631,7 +631,7 @@ namespace GHelper
|
|||||||
|
|
||||||
if (AppConfig.ContainsModel("GA401I"))
|
if (AppConfig.ContainsModel("GA401I"))
|
||||||
{
|
{
|
||||||
comboKeyboard.Visible = false;
|
panelKeyboard.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
VisualiseAura();
|
VisualiseAura();
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ namespace GHelper
|
|||||||
static int updatesCount = 0;
|
static int updatesCount = 0;
|
||||||
private static long lastUpdate;
|
private static long lastUpdate;
|
||||||
|
|
||||||
private void LoadUpdates()
|
private void LoadUpdates(bool force = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (Math.Abs(DateTimeOffset.Now.ToUnixTimeMilliseconds() - lastUpdate) < 5000) return;
|
if (!force && (Math.Abs(DateTimeOffset.Now.ToUnixTimeMilliseconds() - lastUpdate) < 5000)) return;
|
||||||
lastUpdate = DateTimeOffset.Now.ToUnixTimeMilliseconds();
|
lastUpdate = DateTimeOffset.Now.ToUnixTimeMilliseconds();
|
||||||
|
|
||||||
InitBiosAndModel();
|
InitBiosAndModel();
|
||||||
@@ -77,7 +77,7 @@ namespace GHelper
|
|||||||
InitTheme(true);
|
InitTheme(true);
|
||||||
|
|
||||||
|
|
||||||
LoadUpdates();
|
LoadUpdates(true);
|
||||||
|
|
||||||
//buttonRefresh.Visible = false;
|
//buttonRefresh.Visible = false;
|
||||||
buttonRefresh.Click += ButtonRefresh_Click;
|
buttonRefresh.Click += ButtonRefresh_Click;
|
||||||
|
|||||||
Reference in New Issue
Block a user