Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
clsSelectFeature.cs
Package: gis.rar [view]
Upload User: tjyyhj
Upload Date: 2022-07-18
Package Size: 30840k
Code Size: 3k
Category:
GIS program
Development Platform:
Visual C++
- using System;
- using System.Collections.Generic;
- using System.Text;
- using ESRI.ArcGIS.SystemUI;
- using ESRI.ArcGIS.Carto;
- using ESRI.ArcGIS.Controls;
- using ESRI.ArcGIS.Geometry;
- using ESRI.ArcGIS.Geodatabase;
- using GisFramework;
- namespace Genaric
- {
- public class clsSelectFeature : ICommand,ITool
- {
- 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 "SelectFeatures"; }
- }
- public void OnClick()
- {
- ICommand pmc = new ControlsSelectFeaturesToolClass();
- 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
- #region ITool 成员
- public int Cursor
- {
- get { return -1; }
- }
- public bool Deactivate()
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public bool OnContextMenu(int x, int y)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void OnDblClick()
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void OnKeyDown(int keyCode, int shift)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void OnKeyUp(int keyCode, int shift)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void OnMouseDown(int button, int shift, int x, int y)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void OnMouseMove(int button, int shift, int x, int y)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void OnMouseUp(int button, int shift, int x, int y)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- public void Refresh(int hdc)
- {
- throw new Exception("The method or operation is not implemented.");
- }
- #endregion
- }
- }