ACAT.Lib.Core.Utility.Windows.Show C# (CSharp) Метод

Show() публичный статический Метод

Shows the child window, assigns parent as the owner This is just a helper function that takes care of cross-thread invokations that would result in .NET exceptions.
public static Show ( Form parent, Form child ) : void
parent System.Windows.Forms.Form
child System.Windows.Forms.Form
Результат void
        public static void Show(Form parent, Form child)
        {
            if (parent.InvokeRequired)
            {
                parent.Invoke(new show(Show), parent, child);
            }
            else
            {
                child.Show(parent);
            }
        }