Download data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Helpers/Win32Helper.cs from introvoyz041/Dwsim: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Helpers/Win32Helper.cs
- Command line
-
hf download hf://datasets/introvoyz041/Dwsim/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Helpers/Win32Helper.cs
-
curl -L -o Win32Helper.cs https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.DockPanel/WinFormsUI/Docking/Helpers/Win32Helper.cs
613 Bytes
| using System; | |
| using System.Drawing; | |
| using System.Windows.Forms; | |
| namespace WeifenLuo.WinFormsUI.Docking | |
| { | |
| public static class Win32Helper | |
| { | |
| private static readonly bool _isRunningOnMono = Type.GetType("Mono.Runtime") != null; | |
| public static bool IsRunningOnMono { get { return _isRunningOnMono; } } | |
| internal static Control ControlAtPoint(Point pt) | |
| { | |
| return Control.FromChildHandle(NativeMethods.WindowFromPoint(pt)); | |
| } | |
| internal static uint MakeLong(int low, int high) | |
| { | |
| return (uint)((high << 16) + low); | |
| } | |
| } | |
| } | |