Fixed: toggle options menu on app state
This commit is contained in:
parent
c491b5a34e
commit
b228388c41
13
MainForm.Designer.cs
generated
13
MainForm.Designer.cs
generated
@ -204,6 +204,7 @@ namespace bzit.bomg
|
|||||||
this.toolStrip1.Name = "toolStrip1";
|
this.toolStrip1.Name = "toolStrip1";
|
||||||
this.toolStrip1.Padding = new System.Windows.Forms.Padding(5, 0, 1, 0);
|
this.toolStrip1.Padding = new System.Windows.Forms.Padding(5, 0, 1, 0);
|
||||||
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||||
|
this.toolStrip1.ShowItemToolTips = false;
|
||||||
this.toolStrip1.Size = new System.Drawing.Size(304, 25);
|
this.toolStrip1.Size = new System.Drawing.Size(304, 25);
|
||||||
this.toolStrip1.TabIndex = 25;
|
this.toolStrip1.TabIndex = 25;
|
||||||
this.toolStrip1.Text = "toolStrip1";
|
this.toolStrip1.Text = "toolStrip1";
|
||||||
@ -330,27 +331,27 @@ namespace bzit.bomg
|
|||||||
// expandAllViewMenuItem
|
// expandAllViewMenuItem
|
||||||
//
|
//
|
||||||
this.expandAllViewMenuItem.Name = "expandAllViewMenuItem";
|
this.expandAllViewMenuItem.Name = "expandAllViewMenuItem";
|
||||||
this.expandAllViewMenuItem.Size = new System.Drawing.Size(205, 22);
|
this.expandAllViewMenuItem.Size = new System.Drawing.Size(204, 22);
|
||||||
this.expandAllViewMenuItem.Text = "&Expand All";
|
this.expandAllViewMenuItem.Text = "&Expand All";
|
||||||
this.expandAllViewMenuItem.Click += new System.EventHandler(this.viewExpandAllMenuItem_Click);
|
this.expandAllViewMenuItem.Click += new System.EventHandler(this.viewExpandAllMenuItem_Click);
|
||||||
//
|
//
|
||||||
// collapseAllViewMenuItem
|
// collapseAllViewMenuItem
|
||||||
//
|
//
|
||||||
this.collapseAllViewMenuItem.Name = "collapseAllViewMenuItem";
|
this.collapseAllViewMenuItem.Name = "collapseAllViewMenuItem";
|
||||||
this.collapseAllViewMenuItem.Size = new System.Drawing.Size(205, 22);
|
this.collapseAllViewMenuItem.Size = new System.Drawing.Size(204, 22);
|
||||||
this.collapseAllViewMenuItem.Text = "&Collapse All";
|
this.collapseAllViewMenuItem.Text = "&Collapse All";
|
||||||
this.collapseAllViewMenuItem.Click += new System.EventHandler(this.viewCollapseAllMenuItem_Click);
|
this.collapseAllViewMenuItem.Click += new System.EventHandler(this.viewCollapseAllMenuItem_Click);
|
||||||
//
|
//
|
||||||
// toolStripMenuItem1
|
// toolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(202, 6);
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(201, 6);
|
||||||
//
|
//
|
||||||
// alwaysOnTopToolStripMenuItem1
|
// alwaysOnTopToolStripMenuItem1
|
||||||
//
|
//
|
||||||
this.alwaysOnTopToolStripMenuItem1.Name = "alwaysOnTopToolStripMenuItem1";
|
this.alwaysOnTopToolStripMenuItem1.Name = "alwaysOnTopToolStripMenuItem1";
|
||||||
this.alwaysOnTopToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F11)));
|
this.alwaysOnTopToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F11)));
|
||||||
this.alwaysOnTopToolStripMenuItem1.Size = new System.Drawing.Size(205, 22);
|
this.alwaysOnTopToolStripMenuItem1.Size = new System.Drawing.Size(204, 22);
|
||||||
this.alwaysOnTopToolStripMenuItem1.Text = "Always On &Top";
|
this.alwaysOnTopToolStripMenuItem1.Text = "Always On &Top";
|
||||||
this.alwaysOnTopToolStripMenuItem1.Click += new System.EventHandler(this.viewAlwaysOnTopMenuItem_Click);
|
this.alwaysOnTopToolStripMenuItem1.Click += new System.EventHandler(this.viewAlwaysOnTopMenuItem_Click);
|
||||||
//
|
//
|
||||||
@ -362,7 +363,7 @@ namespace bzit.bomg
|
|||||||
this.toolStripDropDownButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.toolStripDropDownButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripDropDownButton4.Name = "toolStripDropDownButton4";
|
this.toolStripDropDownButton4.Name = "toolStripDropDownButton4";
|
||||||
this.toolStripDropDownButton4.ShowDropDownArrow = false;
|
this.toolStripDropDownButton4.ShowDropDownArrow = false;
|
||||||
this.toolStripDropDownButton4.Size = new System.Drawing.Size(39, 22);
|
this.toolStripDropDownButton4.Size = new System.Drawing.Size(38, 22);
|
||||||
this.toolStripDropDownButton4.Text = "&Tools";
|
this.toolStripDropDownButton4.Text = "&Tools";
|
||||||
//
|
//
|
||||||
// optionsToolMenuItem
|
// optionsToolMenuItem
|
||||||
@ -370,7 +371,7 @@ namespace bzit.bomg
|
|||||||
this.optionsToolMenuItem.Image = global::bzit.bomg.Properties.Resources.settings;
|
this.optionsToolMenuItem.Image = global::bzit.bomg.Properties.Resources.settings;
|
||||||
this.optionsToolMenuItem.Name = "optionsToolMenuItem";
|
this.optionsToolMenuItem.Name = "optionsToolMenuItem";
|
||||||
this.optionsToolMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F12;
|
this.optionsToolMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F12;
|
||||||
this.optionsToolMenuItem.Size = new System.Drawing.Size(180, 22);
|
this.optionsToolMenuItem.Size = new System.Drawing.Size(141, 22);
|
||||||
this.optionsToolMenuItem.Text = "&Options";
|
this.optionsToolMenuItem.Text = "&Options";
|
||||||
this.optionsToolMenuItem.Click += new System.EventHandler(this.toolsOptionsMenuItem_Click);
|
this.optionsToolMenuItem.Click += new System.EventHandler(this.toolsOptionsMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
@ -222,6 +222,7 @@ namespace bzit.bomg
|
|||||||
saveAsFileMenuItem.Enabled = false;
|
saveAsFileMenuItem.Enabled = false;
|
||||||
findEditMenuItem.Enabled = false;
|
findEditMenuItem.Enabled = false;
|
||||||
expandAllViewMenuItem.Enabled = collapseAllViewMenuItem.Enabled = false;
|
expandAllViewMenuItem.Enabled = collapseAllViewMenuItem.Enabled = false;
|
||||||
|
optionsToolMenuItem.Enabled = false;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case AppMode.Open:
|
case AppMode.Open:
|
||||||
@ -230,6 +231,7 @@ namespace bzit.bomg
|
|||||||
saveAsFileMenuItem.Enabled = true;
|
saveAsFileMenuItem.Enabled = true;
|
||||||
findEditMenuItem.Enabled = true;
|
findEditMenuItem.Enabled = true;
|
||||||
expandAllViewMenuItem.Enabled = collapseAllViewMenuItem.Enabled = true;
|
expandAllViewMenuItem.Enabled = collapseAllViewMenuItem.Enabled = true;
|
||||||
|
optionsToolMenuItem.Enabled = true;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case AppMode.New:
|
case AppMode.New:
|
||||||
@ -240,6 +242,7 @@ namespace bzit.bomg
|
|||||||
saveAsFileMenuItem.Enabled = true;
|
saveAsFileMenuItem.Enabled = true;
|
||||||
findEditMenuItem.Enabled = true;
|
findEditMenuItem.Enabled = true;
|
||||||
expandAllViewMenuItem.Enabled = collapseAllViewMenuItem.Enabled = true;
|
expandAllViewMenuItem.Enabled = collapseAllViewMenuItem.Enabled = true;
|
||||||
|
optionsToolMenuItem.Enabled = true;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
2
Properties/Resources.Designer.cs
generated
2
Properties/Resources.Designer.cs
generated
@ -258,7 +258,7 @@ namespace bzit.bomg.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to https://www.hiimray.co.uk.
|
/// Looks up a localized string similar to https://www.hiimray.co.uk/software-bookmark-manager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string url_about {
|
internal static string url_about {
|
||||||
get {
|
get {
|
||||||
|
@ -179,7 +179,7 @@
|
|||||||
<value>..\Resources\2\trash-2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\2\trash-2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="url_about" xml:space="preserve">
|
<data name="url_about" xml:space="preserve">
|
||||||
<value>https://www.hiimray.co.uk</value>
|
<value>https://www.hiimray.co.uk/software-bookmark-manager</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="url_help" xml:space="preserve">
|
<data name="url_help" xml:space="preserve">
|
||||||
<value>https://www.hiimray.co.uk/software-bookmark-manager</value>
|
<value>https://www.hiimray.co.uk/software-bookmark-manager</value>
|
||||||
|
@ -77,6 +77,9 @@
|
|||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="HtmlAgilityPack, Version=1.11.24.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
<Reference Include="HtmlAgilityPack, Version=1.11.24.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
|
||||||
<HintPath>packages\HtmlAgilityPack.1.11.24\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
<HintPath>packages\HtmlAgilityPack.1.11.24\lib\Net45\HtmlAgilityPack.dll</HintPath>
|
||||||
@ -239,7 +242,6 @@
|
|||||||
<EmbeddedResource Include="MainForm.resx">
|
<EmbeddedResource Include="MainForm.resx">
|
||||||
<DependentUpon>MainForm.cs</DependentUpon>
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="app.config" />
|
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
Reference in New Issue
Block a user