public static void Show(Form parent, Form child) { if (parent.InvokeRequired) { parent.Invoke(new show(Show), parent, child); } else { child.Show(parent); } }