Source/PopupItemControl.cs
(开头部分) 50KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using DevComponents.DotNetBar.Rendering;
namespace DevComponents.DotNetBar
{
public abstract class PopupItemControl: Control, IThemeCache, IMessageHandlerClient,
IOwnerMenuSupport, IOwner, IRenderingSupport, IAccessibilitySupport, IOwnerLocalize
{
#region Events
/// <summary>
/// Occurs when popup of type container is loading.
/// </summary>
[Description("Occurs when popup of type container is loading.")]
public event EventHandler PopupContainerLoad;
/// <summary>
/// Occurs when popup of type container is unloading.
/// </summary>
[Description("Occurs when popup of type container is unloading.")]
public event EventHandler PopupContainerUnload;
/// <summary>
/// Occurs when popup item is about to open.
/// </summary>
[Description("Occurs when popup item is about to open.")]
public event EventHandler PopupOpen;
/// <summary>
/// Occurs when popup item is closing.
/// </summary>
[Description("Occurs when popup item is closing.")]
public event EventHandler PopupClose;
/// <summary>
/// Occurs just before popup window is shown.
/// </summary>
[Description("Occurs just before popup window is shown.")]
public event EventHandler PopupShowing;
/// <summary>
/// Occurs when Control is looking for translated text for one of the internal text that are
/// displayed on menus, toolbars and customize forms. You need to set Handled=true if you want
/// your custom text to be used instead of the built-in system value.
/// </summary>
public event DotNetBarManager.LocalizeStringEventHandler LocalizeString;
#endregion
#region Private Variables
private PopupItem m_PopupItem = null;
private ColorScheme m_ColorScheme = null;
private bool m_AntiAlias = false;
private bool m_FilterInstalled = false;
private bool m_MenuEventSupport = false;
private bool m_MenuFocus = false;
private Timer m_ActiveWindowTimer = null;
后面还有 1421 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。