Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using ScanMaster.Database.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ScanMaster.UI
{
public static class Extensions
{
public static void InvokeIfRequired(this Control ctrl, Action act)
{
if (ctrl.InvokeRequired) ctrl.Invoke(act);
else act();
}
}
}
0a428af63This file is pinned to the selected release. Download the original to open it in your design tool.