📄 numericupdowndesigner.cs
字号:
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
using System;
using AjaxControlToolkit.Design;
namespace AjaxControlToolkit
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification = "Security handled by base class")]
public class NumericUpDownDesigner : ExtenderControlBaseDesigner<NumericUpDownExtender>
{
/// <summary>
/// Signature of the page method for NumericUpDown's web service that
/// is used to support adding/navigating to the page method from the designer
/// </summary>
/// <param name="current">Current value</param>
/// <param name="tag">User specific context</param>
/// <returns>Value</returns>
[PageMethodSignature("\"Get Next\" NumericUpDown", "ServiceUpPath", "ServiceUpMethod")]
private delegate int GetNextValue(int current, string tag);
/// <summary>
/// Signature of the page method for NumericUpDown's web service that
/// is used to support adding/navigating to the page method from the designer
/// </summary>
/// <param name="current">Current value</param>
/// <param name="tag">User specific context</param>
/// <returns>Value</returns>
[PageMethodSignature("\"Get Previous\" NumericUpDown", "ServiceDownPath", "ServiceDownMethod")]
private delegate int GetPreviousValue(int current, string tag);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -