this is just to show off the TaskDialog in UWT-WF (and a pretty good 'fake' rendition in GTK, too)

This commit is contained in:
Michael Becker 2020-02-12 00:50:34 -05:00
parent a4f15f985a
commit cc1ca6fa60
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -598,7 +598,17 @@ namespace UniversalEditor.UserInterface
#region Help
Application.AttachCommandEventHandler("HelpLicensingAndActivation", delegate (object sender, EventArgs e)
{
MessageDialog.ShowDialog("This product has already been activated.", "Licensing and Activation", MessageDialogButtons.OK, MessageDialogIcon.Information);
// MessageDialog.ShowDialog("This product has already been activated.", "Licensing and Activation", MessageDialogButtons.OK, MessageDialogIcon.Information);
TaskDialog td = new TaskDialog();
td.ButtonStyle = TaskDialogButtonStyle.Commands;
td.Prompt = "This product has already been activated.";
td.Text = "Licensing and Activation";
td.Content = "You are using the GNU GPLv3 licensed version of Universal Editor. No activation is necessary.";
td.Icon = TaskDialogIcon.SecurityOK;
td.Parent = (Window)CurrentEngine.LastWindow;
td.ShowDialog();
});
Application.AttachCommandEventHandler("HelpAboutPlatform", delegate(object sender, EventArgs e)
{