Don't define 'HelpAboutPlatform' twice, already defined in UserInterface/Engine.cs

This commit is contained in:
Michael Becker 2014-08-09 22:47:16 -04:00
parent b3e119f8bf
commit 397c61c33f

View File

@ -30,11 +30,6 @@ namespace UniversalEditor.UserInterface.WindowsForms
{
MessageBox.Show("This product has already been activated.", "Licensing and Activation", MessageBoxButtons.OK, MessageBoxIcon.Information);
});
AttachCommandEventHandler("HelpAboutPlatform", delegate(object sender, EventArgs e)
{
AboutDialog dlg = new AboutDialog();
dlg.ShowDialog();
});
}
protected override void InitializeBranding()
@ -380,6 +375,11 @@ namespace UniversalEditor.UserInterface.WindowsForms
}
#endif
public override void ShowAboutDialog()
{
Dialogs.AboutDialog dlg = new AboutDialog();
dlg.ShowDialog();
}
protected override IHostApplicationWindow OpenWindowInternal(params string[] FileNames)
{