Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/WinFormsUI/Docking/DockWindow.SplitterControl.cs @ 2431

Last change on this file since 2431 was 2134, checked in by gkronber, 15 years ago

Added up to date source of Weifen Luo dock panel suit in a separate project (and added strong name key). Removed binary versions of Weifen Luo dock panel suite and references to it. #687 (Update AdvancedOptimizationFrontend to use more recent version of Weifen Luo Docking library)

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.