Skip to content

Commit

Permalink
Merge pull request #115 from Krypton-Suite/alpha-kryptonexplorer
Browse files Browse the repository at this point in the history
Alpha kryptonexplorer
  • Loading branch information
Smurf-IV authored Dec 10, 2022
2 parents 65212be + 842f00c commit 942797a
Show file tree
Hide file tree
Showing 11 changed files with 1,089 additions and 141 deletions.
1 change: 1 addition & 0 deletions Documents/Help/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# <img src="https://github.com/Krypton-Suite/Standard-Toolkit-Demos/blob/master/Krypton.png?raw=true"> Standard Toolkit Demos - ChangeLog

## 2022-12-xx - Build 2212 - December 2022
* The help file can now be launched via the `KryptonExplorer` (if installed)
* Resolves [#112](https://github.com/Krypton-Suite/Standard-Toolkit-Demos/issues/112), Alpha Branch does not build against "Alpha" of the Toolkit
* Fixed theme bug for `KryptonExplorer`

Expand Down
191 changes: 136 additions & 55 deletions Source/Krypton Explorer/Form1.Designer.cs

Large diffs are not rendered by default.

365 changes: 282 additions & 83 deletions Source/Krypton Explorer/Form1.cs

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Source/Krypton Explorer/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -823,9 +823,15 @@
<metadata name="ss.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<metadata name="ss.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>166, 17</value>
</metadata>
<metadata name="kryptonManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="bgwDownloadDocumentation.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>228, 17</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAUAMDAAAAEAIACoJQAAVgAAACAgAAABACAAqBAAAP4lAAAgIAAAAQAIAKgIAACmNgAAEBAAAAEA
Expand Down
156 changes: 156 additions & 0 deletions Source/Krypton Explorer/HelpFileLocator.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions Source/Krypton Explorer/HelpFileLocator.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using Krypton.Toolkit;

namespace KryptonExplorer
{
public partial class HelpFileLocator : KryptonForm
{
private Properties.Settings _settings = new();

public HelpFileLocator()
{
InitializeComponent();
}

private void kcmdBrowseForFile_Execute(object sender, EventArgs e)
{
OpenFileDialog ofd = new OpenFileDialog()
{
Title = @"Browse for Help File:",
Filter = @"Compiled HTML Help Files|*.chm"
};

if (ofd.ShowDialog() == DialogResult.OK)
{
ktxtHelpFilePath.Text = Path.GetFullPath(ofd.FileName);
}
}

private void kbtnOk_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(ktxtHelpFilePath.Text))
{
_settings.HelpFileLocation = ktxtHelpFilePath.Text;

_settings.Save();
}
}
}
}
Loading

0 comments on commit 942797a

Please sign in to comment.