[BUG] Overtake settings expert options into new version (#141), version 1.0.17.2

This commit is contained in:
Markus Hofknecht 2020-10-24 16:07:40 +02:00
parent 45fe4084ee
commit 47a66d7bce
4 changed files with 10 additions and 5 deletions

View file

@ -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)
{

View file

@ -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")]

View file

@ -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 {

View file

@ -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);
}
}
}