public static async Task<KFreonTPFTools3> GetCurrentInstance()
{
if (CurrentInstance == null)
{
CurrentInstance = new KFreonTPFTools3();
CurrentInstance.Show();
await Task.Run(() =>
{
System.Threading.Thread.Sleep(400);
while (!CurrentInstance.LoadButton.Enabled)
System.Threading.Thread.Sleep(50);
});
}
return CurrentInstance;
}