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

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

Shows a window without setting focus to it
public static ShowWindowWithoutActivation ( Form form ) : void
form System.Windows.Forms.Form the window form
Результат void
        public static void ShowWindowWithoutActivation(Form form)
        {
            if (form.InvokeRequired)
            {
                form.Invoke(new showWIndowWithoutActivation(ShowWindowWithoutActivation), form);
            }
            else
            {
                int handle = form.Handle.ToInt32();
                User32Interop.ShowWindow(handle, ShowWindowFlags.SW_SHOWNA);
            }
        }