使用以下三个Namespace:
using Esri.ArcGIS.Carto;
using Esri.ArcGIS.esriSystem;
using Esri.ArcGIS.SystemUI;
并且新建类,继承该接口,右键接口名选中实现接口,即可实现全部接口
public partial class Form1 : Form,ICommand
{
public Form1()
{
InitializeComponent();
}
{
public Form1()
{
InitializeComponent();
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
}
{
}
public int Bitmap
{
get { throw new NotImplementedException(); }
}
{
get { throw new NotImplementedException(); }
}
public string Caption
{
get { throw new NotImplementedException(); }
}
{
get { throw new NotImplementedException(); }
}
public string Category