private void FormProc() { Application.EnableVisualStyles(); Application.DoEvents(); adminForm = new AdminUI(); Application.Run(); }