Is `Application.DoEvents()` just for forms?

I thought that this command was used to ensure that all of the commands before are processed but now after reading [the documentation](http://msdn.microsoft.com/en/library/system.windows.forms.application.doevents.aspx), I'm not sure anymore.