Skip to content

Commit 89fd433

Browse files
committed
clean up code
1 parent 8cb2c53 commit 89fd433

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Source/DXControl/DirectN/DirectWrite/Extensions/VerticalBlankTicker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void Start(string? deviceName = null, Action<Thread>? configure = null)
5555
IsBackground = true,
5656
Name = "_vbt_",
5757
};
58-
58+
5959
configure?.Invoke(_thread);
6060
_thread.Start(deviceName);
6161
}

Source/DXControl/DirectN/DirectWrite/Extensions/VerticalBlankTickerEventArgs.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
2-
3-
namespace DirectN
1+
namespace DirectN
42
{
53
public sealed class VerticalBlankTickerEventArgs : EventArgs
64
{

Source/DXControl/Graphics/GdipGraphics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public void DrawText(string text, string fontFamilyName, float fontSize, Rectang
224224
if (isBold) style |= FontStyle.Bold;
225225
if (isItalic) style |= FontStyle.Italic;
226226

227-
227+
228228
using var font = new Font(fontFamilyName, fontSize, style, GraphicsUnit.Pixel);
229229
using var brush = new SolidBrush(c);
230230

Source/Demo/DXCanvas.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,5 @@ protected override void OnFrame(FrameEventArgs e)
127127
base.OnFrame(e);
128128
//rectText.Width++;
129129
}
130+
130131
}

0 commit comments

Comments
 (0)