年度变更建库软件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.
 
 

48 lines
1.8 KiB

using ESRI.ArcGIS.ADF.BaseClasses;
using ESRI.ArcGIS.Controls;
namespace Kingo.Plugin.NYYP.Tool
{
/// <summary>
/// 修改日期:2018-09-11
/// 修改人员:郑英杰
/// 目的:结束绘制图形改为中文
/// </summary>
public class ControlsEditingSketchFinishCommandChinese : BaseCommand
//public class ControlsEditingSketchFinishCommandChinese : ControlsEditingSketchFinishCommandClass
{
private ControlsEditingSketchFinishCommandClass pSketchFinish;
//protected string m_caption;
public ControlsEditingSketchFinishCommandChinese()
{
m_caption = "完成草图";
pSketchFinish = new ControlsEditingSketchFinishCommandClass();
}
public override int Bitmap { get { return base.Bitmap; } }
public override string Caption { get { return m_caption; } }
public override string Category { get { return base.Category; } }
public override bool Checked { get { return base.Checked; } }
public override bool Enabled { get { return pSketchFinish.Enabled; } }
public override int HelpContextID { get { return base.HelpContextID; } }
public override string HelpFile { get { return base.HelpFile; } }
public override string Message { get { return base.Message; } }
public override string Name { get { return base.Name; } }
public override string Tooltip { get { return base.Tooltip; } }
//霍岩 2018-11-05 增加CurrentTool属性用来判断是否是画零星面工具
public object CurrentTool { get; set; }
public override void OnCreate(object hook)
{
pSketchFinish.OnCreate(hook);
}
public override void OnClick()
{
pSketchFinish.OnClick();
}
}
}