- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
clsPreView.cs
资源名称:gis.rar [点击查看]
上传用户:tjyyhj
上传日期:2022-07-18
资源大小:30840k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- using System;
- using System.Collections.Generic;
- using System.Text;
- using ESRI.ArcGIS.SystemUI;
- using ESRI.ArcGIS.Carto;
- using ESRI.ArcGIS.Controls;
- using GisFramework;
- namespace Genaric
- {
- public class clsPreView:ICommand
- {
- private IApplication mApp = null;
- #region ICommand 成员
- public int Bitmap
- {
- get { return (Int32)Resource1.后一视图.Handle; }
- }
- public string Caption
- {
- get { return "前一视图"; }
- }
- public string Category
- {
- get { return "基本操作"; }
- }
- public bool Checked
- {
- get { return false; }
- }
- public bool Enabled
- {
- get { return true; }
- }
- public int HelpContextID
- {
- get { throw new Exception("The method or operation is not implemented."); }
- }
- public string HelpFile
- {
- get { throw new Exception("The method or operation is not implemented."); }
- }
- public string Message
- {
- get { return "将当前视图转到前一视图"; }
- }
- public string Name
- {
- get { return "Move to PreView"; }
- }
- public void OnClick()
- {
- ICommand pmc = new ControlsMapZoomToLastExtentForwardCommandClass();
- pmc.OnCreate(mApp.MapControl);
- pmc.OnClick();
- //mApp.CurrentTool = pmc as ITool;
- }
- public void OnCreate(object hook)
- {
- mApp = hook as IApplication;
- }
- public string Tooltip
- {
- get {
- return "将当前视图转到前一视图";
- }
- }
- #endregion
- }
- }