Skip to content

Commit

Permalink
Merge pull request #118 from Krypton-Suite/alpha-kmbox
Browse files Browse the repository at this point in the history
* Demonstrates icon options
  • Loading branch information
Smurf-IV authored Dec 17, 2022
2 parents 022b43f + 290482e commit adb6edd
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 41 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
* Updates `KryptonMessageBoxExample` to showcase [#866](https://github.com/Krypton-Suite/Standard-Toolkit/issues/866)
* 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

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

Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,18 @@ private void Form1_HelpRequested(object sender, HelpEventArgs hlpEvent)
// Indicate that the HelpRequested event is handled.
hlpEvent.Handled = true;
}

private void Form1_Load(object sender, EventArgs e)
{
foreach (string value in Enum.GetNames(typeof(KryptonMessageBoxIcon)))
{
kcmbIcons.Items.Add(value);
}
}

private void kcmbIcons_SelectedIndexChanged(object sender, EventArgs e)
{
_kmbIcon = (KryptonMessageBoxIcon)Enum.Parse(typeof(KryptonMessageBoxIcon), kcmbIcons.Text);
}
}
}

0 comments on commit adb6edd

Please sign in to comment.