Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.ExtLibs/HeuristicLab.WinFormsUI/2.7.0/WinFormsUI-2.7.0/Docking/DockWindow.SplitterControl.cs @ 13847

Last change on this file since 13847 was 8616, checked in by mkommend, 12 years ago

#1939: Added DockPanelSuite 2.7.0 to ExtLibs.

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.