Source/BubbleBarTab.cs
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Windows.Forms;
using DevComponents.UI.ContentManager;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Summary description for BubbleBarGroup.
/// </summary>
[ToolboxItem(false),DesignTimeVisible(false),Designer(typeof(BubbleBarTabDesigner))]
public class BubbleBarTab:Component,ISimpleTab,IBlock
{
#region Private Properties
private string m_Text="";
private BubbleBar m_Parent=null;
private bool m_Visible=true;
private Rectangle m_DisplayRectangle=Rectangle.Empty;
private Color m_BackColor=Color.Empty;
private Color m_BackColor2=Color.Empty;
private int m_BackColorGradientAngle=90;
private Color m_LightBorderColor=Color.Empty;
private Color m_DarkBorderColor=Color.Empty;
private Color m_BorderColor=Color.Empty;
private Color m_TextColor=Color.Empty;
private string m_Name="";
private eTabItemColor m_PredefinedColor=eTabItemColor.Default;
private object m_Tag=null;
private BubbleButtonCollection m_Buttons=null;
private bool m_Focus=false;
#endregion
#region Internal Implementation
/// <summary>
/// Default constructor.
/// </summary>
public BubbleBarTab():this(null){}
/// <summary>
/// Default constructor.
/// </summary>
/// <param name="container">Container object.</param>
public BubbleBarTab(IContainer container)
{
if(container!=null)
container.Add(this);
m_Buttons=new BubbleButtonCollection(this);
}
/// <summary>
/// Gets the collection of the buttons associated with the tab.
/// </summary>
[Browsable(true),DesignerSerializationVisibility(DesignerSerializationVisibility.Content),Category("Buttons"),Description("Returns collection of buttons on the tab."),Editor(typeof(BubbleButtonCollectionEditor), typeof(System.Drawing.Design.UITypeEditor))]
public BubbleButtonCollection Buttons
{
get {return m_Buttons;}
}
后面还有 450 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。