Download data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/DockWindow.SplitterControl.cs from introvoyz041/Dwsim: direct link, hf CLI and curl.
- Browser
- Download file 708 Bytes
-
https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/DockWindow.SplitterControl.cs
- Command line
-
hf download hf://datasets/introvoyz041/Dwsim/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/DockWindow.SplitterControl.cs
-
curl -L -o DockWindow.SplitterControl.cs https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/DockWindow.SplitterControl.cs
708 Bytes
| using System; | |
| using System.Collections; | |
| using System.ComponentModel; | |
| using System.Drawing; | |
| using System.Windows.Forms; | |
| namespace WeifenLuo.WinFormsUI.Docking | |
| { | |
| public partial class DockWindow | |
| { | |
| internal class DefaultSplitterControl : 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)); | |
| } | |
| } | |
| } | |
| } | |