/ Published in: C#
URL: http://hashfactor.wordpress.com/2009/01/28/c-check-if-a-form-is-already-opened/
Expand |
Embed | Plain Text
public static Form IsFormAlreadyOpen(Type FormType) { foreach (Form OpenForm in Application.OpenForms) { if (OpenForm.GetType() == FormType) return OpenForm; } return null; }
You need to login to post a comment.
