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

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

Sets the child's owner to parent and shows it without setting focus to it
public static ShowWithoutActivation ( Form parent, Form child ) : void
parent System.Windows.Forms.Form parent form
child System.Windows.Forms.Form child form
Результат void
        public static void ShowWithoutActivation(Form parent, Form child)
        {
            if (parent.InvokeRequired)
            {
                parent.Invoke(new show(ShowWithoutActivation), parent, child);
            }
            else
            {
                child.Owner = parent;
                ShowWindowWithoutActivation(child);
            }
        }