Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.WinFormsUI/2.3.1/WinFormsUI-2.3.1/Docking/DockWindow.SplitterControl.cs @ 2645

Last change on this file since 2645 was 2645, checked in by mkommend, 14 years ago

extracted external libraries and adapted dependent plugins (ticket #837)

File size: 728 bytes
Line 
1using System;
2using System.Collections;
3using System.ComponentModel;
4using System.Drawing;
5using System.Windows.Forms;
6
7namespace 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.