Source/Editors/InputButtonSettings.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
#if FRAMEWORK20
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Drawing;
using DevComponents.DotNetBar;
namespace DevComponents.Editors
{
/// <summary>
/// Describes input button settings.
/// </summary>
[System.ComponentModel.ToolboxItem(false), System.ComponentModel.DesignTimeVisible(false), TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class InputButtonSettings : IComparable
{
#region Private Variables
private IInputButtonControl _Parent = null;
#endregion
#region Constructor
/// <summary>
/// Initializes a new instance of the InputButtonSettings class.
/// </summary>
public InputButtonSettings()
{
}
/// <summary>
/// Initializes a new instance of the InputButtonSettings class.
/// </summary>
/// <param name="parent"></param>
public InputButtonSettings(IInputButtonControl parent)
{
_Parent = parent;
}
#endregion
#region Internal Implementation
private bool _Visible = false;
/// <summary>
/// Gets or sets whether button is visible.
/// </summary>
[DefaultValue(false), Description("Indicates whether button is visible.")]
public bool Visible
{
get { return _Visible; }
set
{
if (_Visible != value)
{
_Visible = value;
OnVisibleChanged();
}
}
}
private void OnVisibleChanged()
{
NotifyParent();
后面还有 173 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。