DockWindow.SplitterControl.cs
上传用户:szlfmled
上传日期:2020-11-22
资源大小:978k
文件大小:1k
- using System;
- using System.Collections;
- using System.ComponentModel;
- using System.Drawing;
- using System.Windows.Forms;
- namespace WeifenLuo.WinFormsUI.Docking
- {
- public partial class DockWindow
- {
- private class SplitterControl : SplitterBase
- {
- protected override int SplitterSize
- {
- get { return Measures.SplitterSize; }
- }
- protected override void StartDrag()
- {
- DockWindow window = Parent as DockWindow;
- if (window == null)
- return;
- window.DockPanel.BeginDrag(window, window.RectangleToScreen(Bounds));
- }
- }
- }
- }