You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
686 B
C#
29 lines
686 B
C#
7 months ago
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.ComponentModel;
|
||
|
using System.Drawing;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace Mesnac.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));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|