⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resourcelinkbutton.cs

📁 community server 源码
💻 CS
字号:
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.ComponentModel;
using CommunityServer.Components;
using ResourceManager = CommunityServer.ControlPanel.Components.ResourceManager;

namespace CommunityServer.ControlPanel.Controls
{
	/// <summary>
	/// ResourceLinkButton is a localized version of <seealso cref="CommunityServer.Controls.CSLinkButton" />.
	/// To accomplish this, ResourceName and/or ResourceFile properties must be provided.
	/// </summary>
	/// <remarks>
	/// ResourceFile is not mandatory.
	/// </remarks>
	public class ResourceLinkButton : CommunityServer.Controls.ResourceLinkButton 
	{

		/// <summary>
		/// Gets or sets the name of the resource file to pull from
		/// </summary>
		[
		Bindable(true),
		Category( "Appearance" ),
		Description( "Gets or sets the name of the resource file." ),
		DefaultValue( "ControlPanelResources.xml" ),
		]
		public override String ResourceFile 
		{
			get 
			{
				Object state = ViewState["ResourceFile"];
				if ( state != null ) 
				{
					return (String)state;
				}
				return "ControlPanelResources.xml";
			}
			set 
			{
				ViewState["ResourceFile"] = value;
			}
		}


	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -