Source/NavigationPane.cs

(开头部分) 48KB

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

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Windows.Forms;

namespace DevComponents.DotNetBar
{
	#region Event Delegates
	/// <summary>
	/// Delegate for OptionGroupChanging event.
	/// </summary>
	public delegate void PanelChangingEventHandler(object sender,  PanelChangingEventArgs e);

	/// <summary>
	/// Delegate for PanelPopup events.
	/// </summary>
	public delegate void PanelPopupEventHandler(object sender,  PanelPopupEventArgs e);
	#endregion

	/// <summary>
	/// Represents Outlook 2003 style navigation pane control.
	/// </summary>
	[ToolboxItem(true), Designer(typeof(Design.NavigationPaneDesigner))]
	public class NavigationPane : System.Windows.Forms.UserControl
	{
		private DevComponents.DotNetBar.PanelExTitle panelTitle;
		private DevComponents.DotNetBar.NavigationBar navBar;

		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;
		private int m_NavigationBarHeight=0;
        private bool m_CanCollapse = false;
        private bool m_Expanded = true;
        private bool m_ExpandedDelayed = true;
        private Image m_DefaultCollapseImage = null;
        private Image m_DefaultExpandImage = null;
        private Image m_DefaultCollapseImageMouseOver = null;
        private Image m_DefaultExpandImageMouseOver = null;

        private Image m_TitleImageCollapse = null;
        private Image m_TitleImageExpand = null;
        private Image m_TitleImageCollapseMouseOver = null;
        private Image m_TitleImageExpandMouseOver = null;
        private int m_ExpandedSize = 0;
        private int m_CollapsedSize = 0;
        private PanelEx m_PanePopupPanel = null;
        private int m_AnimationTime = 100;
        private bool m_PopupPaneVisible = false;
        private PanelEx m_PopupPanelContainer = null;
        private bool m_LayoutSuspended = false;

		#region Events
		/// <summary>
		/// Occurs when Item is clicked.
后面还有 1275 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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