mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
parent
a8a27bddde
commit
bb524749b5
@ -26,8 +26,8 @@ using System.Resources;
|
|||||||
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
||||||
|
|
||||||
// Version information
|
// Version information
|
||||||
[assembly: AssemblyVersion("2.1.0.37")]
|
[assembly: AssemblyVersion("2.1.0.40")]
|
||||||
[assembly: AssemblyFileVersion("2.1.0.37")]
|
[assembly: AssemblyFileVersion("2.1.0.40")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
||||||
[assembly: CLSCompliant(true)]
|
[assembly: CLSCompliant(true)]
|
||||||
|
|
||||||
|
@ -223,6 +223,13 @@ namespace DisplayMagician.UIForms
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Also refresh the right-click menu (if we have a main form loaded)
|
||||||
|
if (Program.AppMainForm is Form)
|
||||||
|
{
|
||||||
|
Program.AppMainForm.RefreshNotifyIconMenus();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Restart updating the saved_profiles listview
|
// Restart updating the saved_profiles listview
|
||||||
ilv_saved_profiles.ResumeLayout();
|
ilv_saved_profiles.ResumeLayout();
|
||||||
}
|
}
|
||||||
@ -255,7 +262,7 @@ namespace DisplayMagician.UIForms
|
|||||||
|
|
||||||
// Refresh the Profile UI
|
// Refresh the Profile UI
|
||||||
RefreshDisplayProfileUI();
|
RefreshDisplayProfileUI();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -317,7 +317,7 @@ namespace DisplayMagician.UIForms
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void RefreshNotifyIconMenus()
|
public void RefreshNotifyIconMenus()
|
||||||
{
|
{
|
||||||
// Clear all the profiles
|
// Clear all the profiles
|
||||||
profileToolStripMenuItem.DropDownItems.Clear();
|
profileToolStripMenuItem.DropDownItems.Clear();
|
||||||
@ -370,7 +370,9 @@ namespace DisplayMagician.UIForms
|
|||||||
shortcutToolStripMenuItem.DropDownItems.Add(shortcutMenuItem);
|
shortcutToolStripMenuItem.DropDownItems.Add(shortcutMenuItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Apply it by running the Application.DoEvents();
|
||||||
|
Application.DoEvents();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ namespace DisplayMagician.UIForms
|
|||||||
// Refresh the Shortcut Library UI
|
// Refresh the Shortcut Library UI
|
||||||
RefreshShortcutLibraryUI();
|
RefreshShortcutLibraryUI();
|
||||||
|
|
||||||
|
|
||||||
RemoveWarningIfShortcuts();
|
RemoveWarningIfShortcuts();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,6 +102,12 @@ namespace DisplayMagician.UIForms
|
|||||||
// Restart updating the saved_profiles listview
|
// Restart updating the saved_profiles listview
|
||||||
ilv_saved_shortcuts.ResumeLayout();
|
ilv_saved_shortcuts.ResumeLayout();
|
||||||
|
|
||||||
|
// Also refresh the right-click menu (if we have a main form loaded)
|
||||||
|
if (Program.AppMainForm is Form)
|
||||||
|
{
|
||||||
|
Program.AppMainForm.RefreshNotifyIconMenus();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ShortcutItem GetShortcutFromName(string shortcutName)
|
private ShortcutItem GetShortcutFromName(string shortcutName)
|
||||||
|
Loading…
Reference in New Issue
Block a user