Last change
on this file since 4498 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 | |
---|
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.