예제 #1
0
 static PageClient()
 {
     NativeMethods.SetBrowserFeatureControl();
     //NativeMethods.SetErrorMode(NativeMethods.ErrorModes.SYSTEM_DEFAULT);
     NativeMethods.SetErrorMode(NativeMethods.ErrorModes.SEM_FAILCRITICALERRORS | NativeMethods.ErrorModes.SEM_NOGPFAULTERRORBOX | NativeMethods.ErrorModes.SEM_NOOPENFILEERRORBOX);
 }
예제 #2
0
 static ClientForm()
 {
     NativeMethods.SetBrowserFeatureControl();
 }