Source/Ribbon/RibbonLocalization.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.ComponentModel;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Represents the class that stores text used by ribbon control only for localization purposes.
/// </summary>
[ToolboxItem(false), TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class RibbonLocalization
{
#region Private Variables
private string m_QatRemoveItemText = "&Remove from Quick Access Toolbar";
private string m_QatAddItemText = "&Add to Quick Access Toolbar";
private string m_QatCustomizeText = "&Customize Quick Access Toolbar...";
private string m_QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon";
private string m_QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon";
private string m_QatDialogOkButton = "OK";
private string m_QatDialogCancelButton = "Cancel";
private string m_QatDialogAddButton = "&Add >>";
private string m_QatDialogRemoveButton = "&Remove";
private string m_QatDialogCategoriesLabel = "&Choose commands from:";
private string m_QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon";
private string m_QatDialogCaption = "Customize Quick Access Toolbar";
private string m_MinimizeRibbonText = "Mi&nimize the Ribbon";
private string m_MaximizeRibbonText = "&Maximize the Ribbon";
private string m_QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>";
#endregion
#region Internal Implementation
/// <summary>
/// Gets or sets the title text of the Quick Access Toolbar Customize dialog form.
/// </summary>
[DefaultValue("Customize Quick Access Toolbar"), Localizable(true), Description("Indicates the the title text of the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")]
public string QatDialogCaption
{
get { return m_QatDialogCaption; }
set { m_QatDialogCaption = value; }
}
/// <summary>
/// Gets or sets the text of the "Place Quick Access Toolbar below the Ribbon" check-box on the Quick Access Toolbar Customize dialog form.
/// </summary>
[DefaultValue("&Place Quick Access Toolbar below the Ribbon"), Localizable(true), Description("Indicates the text of the 'Place Quick Access Toolbar below the Ribbon' check-box on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")]
public string QatDialogPlacementCheckbox
{
get { return m_QatDialogPlacementCheckbox; }
set { m_QatDialogPlacementCheckbox = value; }
}
/// <summary>
/// Gets or sets the text of the Choose commands from label on the Quick Access Toolbar Customize dialog form.
/// </summary>
[DefaultValue("&Choose commands from:"), Localizable(true), Description("Indicates the text of the Choose commands from label on the Quick Access Toolbar Customize dialog form."), Category("QAT Customize Dialog")]
public string QatDialogCategoriesLabel
{
get { return m_QatDialogCategoriesLabel; }
set { m_QatDialogCategoriesLabel = value; }
后面还有 124 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。