static PageClient() { NativeMethods.SetBrowserFeatureControl(); //NativeMethods.SetErrorMode(NativeMethods.ErrorModes.SYSTEM_DEFAULT); NativeMethods.SetErrorMode(NativeMethods.ErrorModes.SEM_FAILCRITICALERRORS | NativeMethods.ErrorModes.SEM_NOGPFAULTERRORBOX | NativeMethods.ErrorModes.SEM_NOOPENFILEERRORBOX); }
static ClientForm() { NativeMethods.SetBrowserFeatureControl(); }