The Process.MainWindowHandle property returns an IntPtr and the IntPtr type has no Focus method.
But the Control.FromHandle does