dockwindowsplitter.cs

来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 36 行

CS
36
字号
// *****************************************************************************
// 
//  Copyright 2004, Weifen Luo
//  All rights reserved. The software and associated documentation 
//  supplied hereunder are the proprietary information of Weifen Luo
//  and are supplied subject to licence terms.
// 
//  WinFormsUI Library Version 1.0
// *****************************************************************************

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace WeifenLuo.WinFormsUI
{
	internal class DockWindowSplitter : SplitterBase
	{
		protected override int SplitterSize
		{
			get	{	return MeasureDockWindow.SplitterSize;	}
		}

		protected override void StartDrag()
		{
			DockWindow window = Parent as DockWindow;
			if (window == null)
				return;

			window.DockPanel.DragHandler.BeginDragDockWindowSplitter(window, this.Location);
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?