Source/Ribbon/RibbonBar.cs
(开头部分) 99KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using System.ComponentModel;
using System.Collections;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Represents a single ribbon container control.
/// </summary>
[ToolboxBitmap(typeof(RibbonBar),"Ribbon.RibbonBar.ico"),ToolboxItem(true),Designer(typeof(Design.RibbonBarDesigner)),System.Runtime.InteropServices.ComVisible(false)]
public class RibbonBar:ItemControl
{
#region Events
/// <summary>
/// Occurs when dialog launcher button in title bar is clicked. Use DialogLauncherVisible property to show the button in title bar.
/// </summary>
[Description("Occurs when dialog launcher button in title bar is clicked. Use DialogLauncherVisible property to show the button in title bar.")]
public event EventHandler LaunchDialog;
/// <summary>
/// Occurs when overflow button for control is created because control size is below the minimum size required to display complete content of the control.
/// This event allows you to get access to the internal overflow button that is created and change it's properties if required.
/// </summary>
[Description("Occurs when overflow button for control is created because control size is below the minimum size required to display complete content of the control.")]
public event OverflowButtonEventHandler OverflowButtonSetup;
/// <summary>
/// Occurs after overflow button setup is complete and all items contained by this control are moved to it.
/// </summary>
[Description("Occurs after overflow button setup is complete and all items contained by this control are moved to it.")]
public event OverflowButtonEventHandler OverflowButtonSetupComplete;
/// <summary>
/// Occurs before overflow button is destroyed.
/// </summary>
[Description("Occurs before overflow button is destroyed.")]
public event OverflowButtonEventHandler OverflowButtonDestroy;
/// <summary>
/// Occurs when mouse enters dialog launcher button.
/// </summary>
[Description("")]
public event EventHandler DialogLauncherMouseEnter;
/// <summary>
/// Occurs when mouse leaves dialog launcher button.
/// </summary>
[Description("Occurs when mouse leaves dialog launcher button.")]
public event EventHandler DialogLauncherMouseLeave;
/// <summary>
/// Occurs when mouse hovers over the dialog launcher button.
/// </summary>
[Description("Occurs when mouse hovers over the dialog launcher button.")]
public event EventHandler DialogLauncherMouseHover;
/// <summary>
后面还有 2577 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。