Skip to content
This repository was archived by the owner on Oct 14, 2022. It is now read-only.

Commit d5bfbc2

Browse files
authored
Move the dll into designer, add rounded corners.
1 parent 5efae5f commit d5bfbc2

2 files changed

Lines changed: 30 additions & 6 deletions

File tree

src/MainForm.Designer.cs

Lines changed: 29 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/MainForm.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.IO;
3+
using System.Runtime.InteropServices;
34
using System.Windows.Forms;
45

56
using sxlib;
@@ -13,11 +14,6 @@ public partial class SkidWareForm : Form
1314
private const int WM_NCLBUTTONDOWN = 0xA1;
1415
private const int HT_CAPTION = 0x2;
1516

16-
[System.Runtime.InteropServices.DllImport("user32.dll")]
17-
private static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
18-
[System.Runtime.InteropServices.DllImport("user32.dll")]
19-
private static extern bool ReleaseCapture();
20-
2117
public SkidWareForm()
2218
{
2319
InitializeComponent();

0 commit comments

Comments
 (0)