Beispiel #1
0
        public static void ShowForm(){

            if ((someForm == null) || someForm.IsDisposed)
                someForm = new SomeForm();

            someForm.MdiParent = ClientData.mainForm;
            someForm.Show();
            someForm.Activate();
        }
Beispiel #2
0
        public static void ShowForm()
        {
            if ((someForm == null) || someForm.IsDisposed)
            {
                someForm = new SomeForm();
            }

            someForm.MdiParent = ClientData.mainForm;
            someForm.Show();
            someForm.Activate();
        }