Source/MdiWindowListItem.cs
(开头部分) 20KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.ComponentModel;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Summary description for MdiWindowListItem.
/// </summary>
[System.ComponentModel.ToolboxItem(false),System.ComponentModel.DesignTimeVisible(false)]
public class MdiWindowListItem:ImageItem
{
private bool m_Initialized=false;
private System.Collections.ArrayList m_MdiItems=new System.Collections.ArrayList();
private int m_MaxCaptionLength=22;
private bool m_ShowWindowIcons=true;
private bool m_MdiNoFormActivateFlicker=true;
private bool m_CreateMdiChildAccessKeys=false;
public MdiWindowListItem():this("","") {}
public MdiWindowListItem(string sName):this(sName,""){}
public MdiWindowListItem(string sName, string ItemText):base(sName,ItemText)
{
m_SystemItem=true;
m_Visible=false;
this.IsAccessible=false;
}
[System.ComponentModel.Browsable(false),DevCoBrowsable(false),System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Visible
{
get
{
return this.DesignMode && this.Site != null;
}
set{}
}
protected override void OnSiteChanged()
{
if (this.Site != null)
{
m_SystemItem = false;
m_Visible = true;
}
else
{
m_SystemItem = true;
m_Visible = false;
}
base.OnSiteChanged();
}
/// <summary>
/// Gets or sets whether the MDI Child Window Icons are displayed on items.
/// </summary>
[System.ComponentModel.Browsable(true),DevCoBrowsable(true),System.ComponentModel.Category("Appearance"),System.ComponentModel.Description("Specifies whether the MDI Child Window Icons are displayed on items.")]
public bool ShowWindowIcons
{
get {return m_ShowWindowIcons;}
后面还有 562 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。