Pilz.UI: convert to C#

This commit is contained in:
2024-06-10 12:29:56 +02:00
parent b9be604f0d
commit 5c6f0c8bfc
32 changed files with 3950 additions and 166 deletions

View File

@@ -0,0 +1,19 @@
using System.Diagnostics;
using System.Windows.Forms;
namespace Pilz.UI;
public static class HelpfulFunctions
{
public static void Sleep(int milliseconds)
{
var stopw = new Stopwatch();
stopw.Start();
while (stopw.ElapsedMilliseconds < milliseconds)
Application.DoEvents();
stopw.Stop();
}
}