mapcontroleditor.cs
来自「arcgis engine地图打印任务的应用」· CS 代码 · 共 33 行
CS
33 行
// Copyright 2006 ESRI
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
//
// See use restrictions at /arcgis/developerkit/userestrictions.
//
using System;
using System.Collections.Generic;
using System.Text;
using ESRI.ArcGIS.ADF.Web.UI.WebControls.Design;
namespace PrintTask_CSharp
{
/// <summary>
/// Displays a list of Map control IDs in the Map drop-down list in Visual Studio
/// for the task properties
/// </summary>
class MapControlEditor: ControlTypeEditor
{
protected override void DefineSupportedTypes(System.ComponentModel.ITypeDescriptorContext pContext)
{
ClearSupportedTypes();
AddSupportedType(typeof(ESRI.ArcGIS.ADF.Web.UI.WebControls.Map));
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?