Line | |
---|
1 | using System;
|
---|
2 | using System.Collections;
|
---|
3 | using System.ComponentModel;
|
---|
4 | using System.Drawing;
|
---|
5 | using System.Windows.Forms;
|
---|
6 |
|
---|
7 | namespace WeifenLuo.WinFormsUI.Docking
|
---|
8 | {
|
---|
9 | public partial class DockWindow
|
---|
10 | {
|
---|
11 | private class SplitterControl : SplitterBase
|
---|
12 | {
|
---|
13 | protected override int SplitterSize
|
---|
14 | {
|
---|
15 | get { return Measures.SplitterSize; }
|
---|
16 | }
|
---|
17 |
|
---|
18 | protected override void StartDrag()
|
---|
19 | {
|
---|
20 | DockWindow window = Parent as DockWindow;
|
---|
21 | if (window == null)
|
---|
22 | return;
|
---|
23 |
|
---|
24 | window.DockPanel.BeginDrag(window, window.RectangleToScreen(Bounds));
|
---|
25 | }
|
---|
26 | }
|
---|
27 | }
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.