Source/DotNetBarManager.cs

(开头部分) 214KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

[assembly:System.CLSCompliant(true)]
namespace DevComponents.DotNetBar
{
    using System;
    using System.Collections;
    using System.ComponentModel;
    using System.Drawing;
    using System.Data;
    using System.Windows.Forms;
    using System.Xml;

    /// <summary>
    /// Represent the menu, toolbar and popup menu structure for the form.
    /// </summary>
	[ToolboxBitmap(typeof(DotNetBarManager),"DotNetBarManager.ico"), Designer(typeof(Design.DotNetBarManagerDesigner)),ToolboxItem(true),System.Runtime.InteropServices.ComVisible(false), DefaultEvent("ItemClick")]
	public class DotNetBarManager : Component,
		System.ComponentModel.IExtenderProvider,
		IOwnerItemEvents,
		IOwnerMenuSupport,
		IOwner,
		IOwnerBarSupport,
		IOwnerAutoHideSupport,
		IMessageHandlerClient,
		IOwnerLocalize,
        ICustomSerialization
	{
		// Events
		#region Event Definition
		/// <summary>
		/// Represents delegate for ContextMenu events.
		/// </summary>
		public delegate void CustomizeContextMenuEventHandler(object sender, CustomizeContextMenuEventArgs e);

		/// <summary>
		/// Represents the method that will handle the ItemRemoved event.
		/// </summary>
		public delegate void ItemRemovedEventHandler(object sender, ItemRemovedEventArgs e);

		/// <summary>
		/// Occurs just before customize popup menu is shown.
		/// </summary>
		[System.ComponentModel.Description("Occurs just before customize popup menu is shown."),Category("Item")]
		public event CustomizeContextMenuEventHandler CustomizeContextMenu;

		/// <summary>
		/// Occurs when Item is clicked.
		/// </summary>
		[System.ComponentModel.Description("Occurs when Item is clicked."),Category("Item")]
		public event EventHandler ItemClick;

		/// <summary>
		/// Occurs when popup of type container is loading.
		/// </summary>
		[System.ComponentModel.Description("Occurs when popup of type container is loading."),Category("Item")]
		public event EventHandler PopupContainerLoad;

		/// <summary>
		/// Occurs when popup of type container is unloading.
		/// </summary>
		[System.ComponentModel.Description("Occurs when popup of type container is unloading."),Category("Item")]
后面还有 6553 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。