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

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

Show or hide the specified form in the Windows taskbar
public static ShowInTaskbar ( Form control, bool show ) : void
control System.Windows.Forms.Form form
show bool set to true to show
Результат void
        public static void ShowInTaskbar(Form control, bool show)
        {
            if (control.InvokeRequired)
            {
                control.Invoke(new showInTaskbar(ShowInTaskbar), control, show);
            }
            else
            {
                control.ShowInTaskbar = show;
            }
        }