public void centerProcess(string processName) { if (!Mouse.CenterProcessWindow(processName)) { CMDOutput.Write("Unable to center process: " + processName, CMDMessage.warrning); } }