static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); frmDisableGWAccess disableGWAccess = new frmDisableGWAccess(); disableGWAccess.initTTUSAPI(); Application.Run(disableGWAccess); }