年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

6 months ago
using KGIS.Framework.Commands;
using KGIS.Framework.Utils;
using Kingo.Plugin.General.View;
using System;
namespace Kingo.Plugin.General.Commands
{
public class AboutCommand : BaseMenuCommand
{
public override void OnClick()
{
try
{
FrmAbout win = new FrmAbout();
win.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
win.ShowInMainWindow(true);
}
catch (Exception ex)
{
LogAPI.Debug("在启动 帮助 命令时异常,异常信息如下:");
LogAPI.Debug(ex);
LogAPI.Debug("在启动 帮助 命令时异常信息结束");
}
}
public override void OnCreate(object Hook)
{
try
{
//if (m_hookHelper == null)
//{
// m_hookHelper = new HookHelper();
// m_hookHelper.Hook = Hook;
//}
}
catch (Exception ex)
{
LogAPI.Debug("在初始化 帮助 命令时异常,异常信息如下:");
LogAPI.Debug(ex);
LogAPI.Debug("在初始化 帮助 命令时异常信息结束");
}
}
}
}