Added helper messages for new installs

Helper messages added to the MainForm and
to the Shortcut library to try and help people
understand what order to do things in so that
the software works as intended.
This commit is contained in:
Terry MacDonald 2020-12-09 22:30:58 +13:00
parent 40b396701a
commit 362adbbf41
5 changed files with 152 additions and 12 deletions

View File

@ -51,6 +51,8 @@
this.shortcutToolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.shortcutToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.lbl_create_profile = new System.Windows.Forms.Label();
this.lbl_create_shortcut = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
@ -68,11 +70,13 @@
// //
// splitContainer1.Panel1 // splitContainer1.Panel1
// //
this.splitContainer1.Panel1.Controls.Add(this.lbl_create_profile);
this.splitContainer1.Panel1.Controls.Add(this.btn_setup_display_profiles); this.splitContainer1.Panel1.Controls.Add(this.btn_setup_display_profiles);
this.splitContainer1.Panel1.Controls.Add(this.pb_display_profile); this.splitContainer1.Panel1.Controls.Add(this.pb_display_profile);
// //
// splitContainer1.Panel2 // splitContainer1.Panel2
// //
this.splitContainer1.Panel2.Controls.Add(this.lbl_create_shortcut);
this.splitContainer1.Panel2.Controls.Add(this.cb_minimise_notification_area); this.splitContainer1.Panel2.Controls.Add(this.cb_minimise_notification_area);
this.splitContainer1.Panel2.Controls.Add(this.lbl_version); this.splitContainer1.Panel2.Controls.Add(this.lbl_version);
this.splitContainer1.Panel2.Controls.Add(this.btn_setup_game_shortcuts); this.splitContainer1.Panel2.Controls.Add(this.btn_setup_game_shortcuts);
@ -221,6 +225,22 @@
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem"); resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
// //
// lbl_create_profile
//
resources.ApplyResources(this.lbl_create_profile, "lbl_create_profile");
this.lbl_create_profile.BackColor = System.Drawing.Color.Brown;
this.lbl_create_profile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lbl_create_profile.ForeColor = System.Drawing.Color.White;
this.lbl_create_profile.Name = "lbl_create_profile";
//
// lbl_create_shortcut
//
resources.ApplyResources(this.lbl_create_shortcut, "lbl_create_shortcut");
this.lbl_create_shortcut.BackColor = System.Drawing.Color.Brown;
this.lbl_create_shortcut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lbl_create_shortcut.ForeColor = System.Drawing.Color.White;
this.lbl_create_shortcut.Name = "lbl_create_shortcut";
//
// MainForm // MainForm
// //
resources.ApplyResources(this, "$this"); resources.ApplyResources(this, "$this");
@ -233,6 +253,7 @@
this.Activated += new System.EventHandler(this.MainForm_Activated); this.Activated += new System.EventHandler(this.MainForm_Activated);
this.Load += new System.EventHandler(this.MainForm_Load); this.Load += new System.EventHandler(this.MainForm_Load);
this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
@ -267,5 +288,7 @@
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.CheckBox cb_minimise_notification_area; private System.Windows.Forms.CheckBox cb_minimise_notification_area;
public System.Windows.Forms.NotifyIcon notifyIcon; public System.Windows.Forms.NotifyIcon notifyIcon;
private System.Windows.Forms.Label lbl_create_profile;
private System.Windows.Forms.Label lbl_create_shortcut;
} }
} }

View File

@ -129,12 +129,18 @@ namespace DisplayMagician.UIForms
{ {
btn_setup_game_shortcuts.Visible = true; btn_setup_game_shortcuts.Visible = true;
pb_game_shortcut.Enabled = true; pb_game_shortcut.Enabled = true;
lbl_create_profile.Visible = false;
if (ShortcutRepository.AllShortcuts.Count > 0)
lbl_create_shortcut.Visible = false;
else
lbl_create_shortcut.Visible = true;
} }
else else
{ {
btn_setup_game_shortcuts.Visible = false; btn_setup_game_shortcuts.Visible = false;
pb_game_shortcut.Enabled = false; pb_game_shortcut.Enabled = false;
lbl_create_profile.Visible = true;
} }
} }

View File

@ -132,6 +132,39 @@
<data name="splitContainer1.Orientation" type="System.Windows.Forms.Orientation, System.Windows.Forms"> <data name="splitContainer1.Orientation" type="System.Windows.Forms.Orientation, System.Windows.Forms">
<value>Horizontal</value> <value>Horizontal</value>
</data> </data>
<data name="lbl_create_profile.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value>
</data>
<data name="lbl_create_profile.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbl_create_profile.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="lbl_create_profile.Location" type="System.Drawing.Point, System.Drawing">
<value>211, 239</value>
</data>
<data name="lbl_create_profile.Size" type="System.Drawing.Size, System.Drawing">
<value>355, 22</value>
</data>
<data name="lbl_create_profile.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="lbl_create_profile.Text" xml:space="preserve">
<value>You need to save at least one display profile first!</value>
</data>
<data name="&gt;&gt;lbl_create_profile.Name" xml:space="preserve">
<value>lbl_create_profile</value>
</data>
<data name="&gt;&gt;lbl_create_profile.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lbl_create_profile.Parent" xml:space="preserve">
<value>splitContainer1.Panel1</value>
</data>
<data name="&gt;&gt;lbl_create_profile.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="btn_setup_display_profiles.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="btn_setup_display_profiles.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value> <value>None</value>
</data> </data>
@ -163,7 +196,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;btn_setup_display_profiles.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btn_setup_display_profiles.ZOrder" xml:space="preserve">
<value>0</value> <value>1</value>
</data> </data>
<data name="pb_display_profile.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="pb_display_profile.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -10711,7 +10744,7 @@
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
</data> </data>
<data name="&gt;&gt;pb_display_profile.ZOrder" xml:space="preserve"> <data name="&gt;&gt;pb_display_profile.ZOrder" xml:space="preserve">
<value>1</value> <value>2</value>
</data> </data>
<data name="&gt;&gt;splitContainer1.Panel1.Name" xml:space="preserve"> <data name="&gt;&gt;splitContainer1.Panel1.Name" xml:space="preserve">
<value>splitContainer1.Panel1</value> <value>splitContainer1.Panel1</value>
@ -10725,6 +10758,45 @@
<data name="&gt;&gt;splitContainer1.Panel1.ZOrder" xml:space="preserve"> <data name="&gt;&gt;splitContainer1.Panel1.ZOrder" xml:space="preserve">
<value>0</value> <value>0</value>
</data> </data>
<data name="lbl_create_shortcut.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value>
</data>
<data name="lbl_create_shortcut.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbl_create_shortcut.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="lbl_create_shortcut.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbl_create_shortcut.Location" type="System.Drawing.Point, System.Drawing">
<value>220, 247</value>
</data>
<data name="lbl_create_shortcut.Size" type="System.Drawing.Size, System.Drawing">
<value>343, 22</value>
</data>
<data name="lbl_create_shortcut.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="lbl_create_shortcut.Text" xml:space="preserve">
<value>You now need to click here to create a shortcut</value>
</data>
<data name="lbl_create_shortcut.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="&gt;&gt;lbl_create_shortcut.Name" xml:space="preserve">
<value>lbl_create_shortcut</value>
</data>
<data name="&gt;&gt;lbl_create_shortcut.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lbl_create_shortcut.Parent" xml:space="preserve">
<value>splitContainer1.Panel2</value>
</data>
<data name="&gt;&gt;lbl_create_shortcut.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="cb_minimise_notification_area.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="cb_minimise_notification_area.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom</value> <value>Bottom</value>
</data> </data>
@ -10738,7 +10810,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="cb_minimise_notification_area.Location" type="System.Drawing.Point, System.Drawing"> <data name="cb_minimise_notification_area.Location" type="System.Drawing.Point, System.Drawing">
<value>232, 357</value> <value>232, 355</value>
</data> </data>
<data name="cb_minimise_notification_area.Size" type="System.Drawing.Size, System.Drawing"> <data name="cb_minimise_notification_area.Size" type="System.Drawing.Size, System.Drawing">
<value>332, 20</value> <value>332, 20</value>
@ -10759,7 +10831,7 @@
<value>splitContainer1.Panel2</value> <value>splitContainer1.Panel2</value>
</data> </data>
<data name="&gt;&gt;cb_minimise_notification_area.ZOrder" xml:space="preserve"> <data name="&gt;&gt;cb_minimise_notification_area.ZOrder" xml:space="preserve">
<value>0</value> <value>1</value>
</data> </data>
<data name="lbl_version.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="lbl_version.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value> <value>Bottom, Left</value>
@ -10771,7 +10843,7 @@
<value>Microsoft Sans Serif, 9.75pt</value> <value>Microsoft Sans Serif, 9.75pt</value>
</data> </data>
<data name="lbl_version.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbl_version.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 358</value> <value>12, 357</value>
</data> </data>
<data name="lbl_version.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbl_version.Size" type="System.Drawing.Size, System.Drawing">
<value>25, 16</value> <value>25, 16</value>
@ -10795,7 +10867,7 @@
<value>splitContainer1.Panel2</value> <value>splitContainer1.Panel2</value>
</data> </data>
<data name="&gt;&gt;lbl_version.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lbl_version.ZOrder" xml:space="preserve">
<value>1</value> <value>2</value>
</data> </data>
<data name="btn_setup_game_shortcuts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="btn_setup_game_shortcuts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>None</value> <value>None</value>
@ -10807,7 +10879,7 @@
<value>Microsoft Sans Serif, 21.75pt</value> <value>Microsoft Sans Serif, 21.75pt</value>
</data> </data>
<data name="btn_setup_game_shortcuts.Location" type="System.Drawing.Point, System.Drawing"> <data name="btn_setup_game_shortcuts.Location" type="System.Drawing.Point, System.Drawing">
<value>212, 180</value> <value>212, 174</value>
</data> </data>
<data name="btn_setup_game_shortcuts.Size" type="System.Drawing.Size, System.Drawing"> <data name="btn_setup_game_shortcuts.Size" type="System.Drawing.Size, System.Drawing">
<value>360, 50</value> <value>360, 50</value>
@ -10828,7 +10900,7 @@
<value>splitContainer1.Panel2</value> <value>splitContainer1.Panel2</value>
</data> </data>
<data name="&gt;&gt;btn_setup_game_shortcuts.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btn_setup_game_shortcuts.ZOrder" xml:space="preserve">
<value>2</value> <value>3</value>
</data> </data>
<data name="btn_exit.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="btn_exit.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value> <value>Bottom, Right</value>
@ -10840,7 +10912,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="btn_exit.Location" type="System.Drawing.Point, System.Drawing"> <data name="btn_exit.Location" type="System.Drawing.Point, System.Drawing">
<value>700, 354</value> <value>700, 352</value>
</data> </data>
<data name="btn_exit.Size" type="System.Drawing.Size, System.Drawing"> <data name="btn_exit.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value> <value>75, 23</value>
@ -10861,7 +10933,7 @@
<value>splitContainer1.Panel2</value> <value>splitContainer1.Panel2</value>
</data> </data>
<data name="&gt;&gt;btn_exit.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btn_exit.ZOrder" xml:space="preserve">
<value>3</value> <value>4</value>
</data> </data>
<data name="pb_game_shortcut.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="pb_game_shortcut.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -63146,7 +63218,7 @@
<value>splitContainer1.Panel2</value> <value>splitContainer1.Panel2</value>
</data> </data>
<data name="&gt;&gt;pb_game_shortcut.ZOrder" xml:space="preserve"> <data name="&gt;&gt;pb_game_shortcut.ZOrder" xml:space="preserve">
<value>4</value> <value>5</value>
</data> </data>
<data name="&gt;&gt;splitContainer1.Panel2.Name" xml:space="preserve"> <data name="&gt;&gt;splitContainer1.Panel2.Name" xml:space="preserve">
<value>splitContainer1.Panel2</value> <value>splitContainer1.Panel2</value>
@ -71106,6 +71178,9 @@
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>58</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing"> <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value> <value>6, 13</value>
</data> </data>

View File

@ -40,6 +40,7 @@
this.dialog_save = new System.Windows.Forms.SaveFileDialog(); this.dialog_save = new System.Windows.Forms.SaveFileDialog();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.tt_selected = new System.Windows.Forms.ToolTip(this.components); this.tt_selected = new System.Windows.Forms.ToolTip(this.components);
this.lbl_create_shortcut = new System.Windows.Forms.Label();
this.SuspendLayout(); this.SuspendLayout();
// //
// ilv_saved_shortcuts // ilv_saved_shortcuts
@ -184,6 +185,21 @@
this.label1.TabIndex = 31; this.label1.TabIndex = 31;
this.label1.Text = "Game Shortcut Library"; this.label1.Text = "Game Shortcut Library";
// //
// lbl_create_shortcut
//
this.lbl_create_shortcut.Anchor = System.Windows.Forms.AnchorStyles.None;
this.lbl_create_shortcut.AutoSize = true;
this.lbl_create_shortcut.BackColor = System.Drawing.Color.Brown;
this.lbl_create_shortcut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lbl_create_shortcut.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.lbl_create_shortcut.ForeColor = System.Drawing.Color.White;
this.lbl_create_shortcut.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.lbl_create_shortcut.Location = new System.Drawing.Point(413, 562);
this.lbl_create_shortcut.Name = "lbl_create_shortcut";
this.lbl_create_shortcut.Size = new System.Drawing.Size(304, 22);
this.lbl_create_shortcut.TabIndex = 32;
this.lbl_create_shortcut.Text = "Click the \'New\' button to create a shortcut";
//
// ShortcutLibraryForm // ShortcutLibraryForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -191,6 +207,7 @@
this.BackColor = System.Drawing.Color.Black; this.BackColor = System.Drawing.Color.Black;
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(1134, 716); this.ClientSize = new System.Drawing.Size(1134, 716);
this.Controls.Add(this.lbl_create_shortcut);
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Controls.Add(this.btn_save); this.Controls.Add(this.btn_save);
this.Controls.Add(this.btn_new); this.Controls.Add(this.btn_new);
@ -207,6 +224,7 @@
this.ShowIcon = false; this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "DisplayMagician - Setup Game Shortcuts"; this.Text = "DisplayMagician - Setup Game Shortcuts";
this.Activated += new System.EventHandler(this.ShortcutLibraryForm_Activated);
this.Load += new System.EventHandler(this.ShortcutLibraryForm_Load); this.Load += new System.EventHandler(this.ShortcutLibraryForm_Load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -225,5 +243,6 @@
private System.Windows.Forms.SaveFileDialog dialog_save; private System.Windows.Forms.SaveFileDialog dialog_save;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.ToolTip tt_selected; private System.Windows.Forms.ToolTip tt_selected;
private System.Windows.Forms.Label lbl_create_shortcut;
} }
} }

View File

@ -45,6 +45,8 @@ namespace DisplayMagician.UIForms
{ {
// Refresh the Shortcut Library UI // Refresh the Shortcut Library UI
RefreshShortcutLibraryUI(); RefreshShortcutLibraryUI();
RemoveWarningIfShortcuts();
} }
private void RefreshShortcutLibraryUI() private void RefreshShortcutLibraryUI()
@ -147,6 +149,14 @@ namespace DisplayMagician.UIForms
} }
} }
private void RemoveWarningIfShortcuts()
{
if (ShortcutRepository.AllShortcuts.Count > 0)
lbl_create_shortcut.Visible = false;
else
lbl_create_shortcut.Visible = true;
}
private void ilv_saved_shortcuts_ItemClick(object sender, ItemClickEventArgs e) private void ilv_saved_shortcuts_ItemClick(object sender, ItemClickEventArgs e)
{ {
_selectedShortcut = GetShortcutFromName(e.Item.Text); _selectedShortcut = GetShortcutFromName(e.Item.Text);
@ -182,6 +192,7 @@ namespace DisplayMagician.UIForms
_selectedShortcut = shortcutForm.Shortcut; _selectedShortcut = shortcutForm.Shortcut;
RefreshShortcutLibraryUI(); RefreshShortcutLibraryUI();
} }
RemoveWarningIfShortcuts();
} }
private void btn_edit_Click(object sender, EventArgs e) private void btn_edit_Click(object sender, EventArgs e)
@ -223,6 +234,7 @@ namespace DisplayMagician.UIForms
_selectedShortcut = null; _selectedShortcut = null;
RefreshShortcutLibraryUI(); RefreshShortcutLibraryUI();
RemoveWarningIfShortcuts();
} }
private void btn_run_Click(object sender, EventArgs e) private void btn_run_Click(object sender, EventArgs e)
@ -262,5 +274,10 @@ namespace DisplayMagician.UIForms
tt_selected.RemoveAll(); tt_selected.RemoveAll();
} }
} }
private void ShortcutLibraryForm_Activated(object sender, EventArgs e)
{
RemoveWarningIfShortcuts();
}
} }
} }