more work on gtk & code cleanup
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Pilz.UI.WinForms.Utilities;
|
||||
namespace Pilz.UI.WinForms.Utilities;
|
||||
|
||||
|
||||
public static class DrawingControl
|
||||
{
|
||||
|
||||
private const int WM_SETREDRAW = 11;
|
||||
private readonly static Dictionary<nint, int> dicSuspendCount = new Dictionary<nint, int>();
|
||||
private readonly static Dictionary<nint, int> dicSuspendCount = [];
|
||||
|
||||
public static void SuspendDrawing(this Control control)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user