mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-19 03:42:37 +12:00
[BUG] Overtake settings expert options into new version (#141), version 1.0.17.2
This commit is contained in:
parent
45fe4084ee
commit
47a66d7bce
|
@ -40,8 +40,7 @@ namespace SystemTrayMenu
|
|||
|
||||
public static bool LoadOrSetByUser()
|
||||
{
|
||||
bool pathOK = Directory.Exists(
|
||||
Properties.Settings.Default.PathDirectory);
|
||||
bool pathOK = Directory.Exists(Path);
|
||||
|
||||
if (!pathOK)
|
||||
{
|
||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.17.1")]
|
||||
[assembly: AssemblyFileVersion("1.0.17.1")]
|
||||
[assembly: AssemblyVersion("1.0.17.2")]
|
||||
[assembly: AssemblyFileVersion("1.0.17.2")]
|
||||
|
|
3
Properties/Settings.Designer.cs
generated
3
Properties/Settings.Designer.cs
generated
|
@ -89,6 +89,7 @@ namespace SystemTrayMenu.Properties {
|
|||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool HideTaskbarForm {
|
||||
|
@ -101,6 +102,7 @@ namespace SystemTrayMenu.Properties {
|
|||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool OpenItemWithOneClick {
|
||||
|
@ -113,6 +115,7 @@ namespace SystemTrayMenu.Properties {
|
|||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Configuration.SettingsProviderAttribute(typeof(CustomSettingsProvider))]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool IsDarkModeAlwaysOn {
|
||||
|
|
|
@ -20,12 +20,15 @@ namespace SystemTrayMenu.UserInterface
|
|||
SetLocation();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Hide below taskbar.
|
||||
/// </summary>
|
||||
private void SetLocation()
|
||||
{
|
||||
Screen screen = Screen.PrimaryScreen;
|
||||
Location = new Point(
|
||||
screen.Bounds.Right - Size.Width,
|
||||
screen.Bounds.Bottom + 80); // Hide below taskbar
|
||||
screen.Bounds.Bottom + 80);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue