Dear everyone,
In my application, I kill process by:
private bool KillProcess(String processName)
{
bool result = false;
Process[] process =
Process.GetProcessesByName(processName);
for (int i = 0; i < process.Length; i++)
{
Process.GetProcessById(process[i].Id).Kill();
result = true;
}
return result;
}
this process will be killed, but an icon of this process still at
system tray until it is repained. Please show me the solution to
refresh System Tray.
Many thanks,
bipi