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

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

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