//MyMessage("Please wait");//<-------- line A foreach (System.Diagnostics.Process instance in Process.GetProcesses()) { if (instance.ProcessName == "WINWORD") { flage = 1; } } //MyMessage should disappear here//<--- line B
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)