big transformation , using DockPanels now
it feels good to me! -Thoys git-svn-id: https://lsleditor.svn.sourceforge.net/svnroot/lsleditor@26 3f4676ac-adda-40fd-8265-58d1435b1672
This commit is contained in:
parent
75c722f354
commit
573823c181
92 changed files with 16899 additions and 760 deletions
28
trunk/Docking/DockWindow.SplitterControl.cs
Normal file
28
trunk/Docking/DockWindow.SplitterControl.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LSLEditor.Docking
|
||||
{
|
||||
public partial class DockWindow
|
||||
{
|
||||
private class SplitterControl : SplitterBase
|
||||
{
|
||||
protected override int SplitterSize
|
||||
{
|
||||
get { return Measures.SplitterSize; }
|
||||
}
|
||||
|
||||
protected override void StartDrag()
|
||||
{
|
||||
DockWindow window = Parent as DockWindow;
|
||||
if (window == null)
|
||||
return;
|
||||
|
||||
window.DockPanel.BeginDrag(window, window.RectangleToScreen(Bounds));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue