Source/BaseItem.cs

(开头部分) 136KB

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

using System;
using System.Collections;
using DevComponents.UI.ContentManager;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;

namespace DevComponents.DotNetBar
{
    /// <summary>
    /// Defines the base class for items that are used by DotNetBar.
    /// </summary>
    [System.ComponentModel.ToolboxItem(false),System.ComponentModel.DesignTimeVisible(false)]
    public abstract class BaseItem : IDisposable, ICloneable, System.ComponentModel.IComponent, IBlock, ICommandSource
#if FRAMEWORK20
        , IBindableComponent
#endif
	{
		#region Event Definition
		// Events
		/// <summary>
		/// Occurs when Item is clicked.
		/// </summary>
		[System.ComponentModel.Description("Occurs when Item is clicked.")]
		public event EventHandler Click;

        /// <summary>
        /// Occurs when Item is double-clicked.
        /// </summary>
        [System.ComponentModel.Description("Occurs when Item is double-clicked.")]
        public event EventHandler DoubleClick;

		/// <summary>
		/// Occurs when Item Expanded property has changed.
		/// </summary>
		[System.ComponentModel.Description("Occurs when Item Expanded property has changed.")]
		public event EventHandler ExpandChange;

		/// <summary>
		/// Occurs when item loses input focus.
		/// </summary>
		[System.ComponentModel.Description("Occurs when item loses input focus.")]
		public event EventHandler LostFocus;

		/// <summary>
		/// Occurs when item receives input focus.
		/// </summary>
		[System.ComponentModel.Description("Occurs when item receives input focus.")]
		public event EventHandler GotFocus;

		/// <summary>
		/// Occurs when mouse button is pressed.
		/// </summary>
		[System.ComponentModel.Description("Occurs when mouse button is pressed.")]
		public event System.Windows.Forms.MouseEventHandler MouseDown;

		/// <summary>
		/// Occurs when mouse button is released.
		/// </summary>
后面还有 4130 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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