📄 communityimagebutton.cs
字号:
namespace ASPNET.StarterKit.Communities {
using System;
using System.Web.UI.WebControls;
using System.ComponentModel;
//*********************************************************************
//
// CommunityImageButton Class
//
// We need to override the base ImageButton control to modify the
// ImageUrl to work with skins.
//
//*********************************************************************
[Designer(typeof(ASPNET.StarterKit.Communities.CommunityDesigner))]
public class CommunityImageButton : ImageButton {
override protected void OnInit(EventArgs e) {
base.OnInit(e);
// set the ImageUrl to app relative path
ImageUrl = ResolveUrl(ImageUrl);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -