📄 mapcontroleditor.cs
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -