最近在做一个杭州石油的项目开发一个小系统。
1.命令必须是 ICommand 的派生类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using MapGIS.PluginEngine;
using System.Windows.Forms;
using MapGIS.Scene3D;
namespace ThreeDimenModeling
{
class IsoheightModeling : ICommand
{
//应用框架对象
IApplication hock = null;
//场景视图控件
SceneControl sceneCtrl = null;
#region ICommand成员
public Bitmap Bitmap
{
get { return null; }
}
public string Caption
{
get { return "等高线建模"; }
}
public string Category
{
get { return "ThreeDimenModeling"; }
}
public bool Checked
{
get { return false; }
}