Source/BalloonTip.cs
(开头部分) 18KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Collections;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Represents a balloon style pop-up window that displays a brief description of a control's purpose when the mouse hovers over the control or when controls receives input focus.
/// </summary>
[ToolboxItem(true),ProvideProperty("BalloonCaption",typeof(Control)),
ProvideProperty("BalloonText",typeof(Control)),
System.Runtime.InteropServices.ComVisible(false)]
public class BalloonTip:Component, IExtenderProvider
{
public event EventHandler BalloonDisplaying;
public event CancelEventHandler BalloonClosing;
private bool m_BalloonFocus=false;
private bool m_Enabled=true;
private bool m_ShowAlways=false;
private eBallonStyle m_Style=eBallonStyle.Balloon;
private int m_InitialDelay=500;
private bool m_AutoClose=true;
private int m_AutoCloseTimeOut=5;
private eAlertAnimation m_AlertAnimation=eAlertAnimation.BottomToTop;
private int m_AlertAnimationDuration=200;
private bool m_ShowBalloonOnFocus=false;
private bool m_ShowCloseButton=true;
private Balloon m_BalloonControl=null;
private System.Drawing.Image m_CaptionImage=null;
private System.Drawing.Icon m_CaptionIcon=null;
private Hashtable m_BalloonsInfo=new Hashtable();
private Control m_MouseOverControl=null;
private Control m_FocusedControl=null;
private Timer m_DelayTimer=null;
private Control m_BalloonTriggerControl=null;
private int m_DefaultBalloonWidth=256;
private bool m_AntiAlias = false;
/// <summary>
/// Initializes a new instance of the BalloonTip class.
/// </summary>
public BalloonTip()
{
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)
{
RemoveAll();
m_MouseOverControl=null;
m_FocusedControl=null;
后面还有 585 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。