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

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

Sets the form style to not activate and also composited for better viewing experience
public static SetFormStyles ( CreateParams createParams ) : CreateParams
createParams System.Windows.Forms.CreateParams Windows create params
Результат System.Windows.Forms.CreateParams
        public static CreateParams SetFormStyles(CreateParams createParams)
        {
            createParams.ExStyle |= WindowStyleFlags.WS_EX_NOACTIVATE;
            createParams.ExStyle |= WindowStyleFlags.WS_EX_COMPOSITED;
            return createParams;
        }