Here are the examples of the csharp api class System.Windows.Forms.Application.SetUnhandledExceptionMode(System.Windows.Forms.UnhandledExceptionMode) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
45 Examples
0
1. Example
Project: DFAssist
Source File: Sentry.cs
Source File: Sentry.cs
internal static void Initialise() { ravenClient = new RavenClient(Global.RAVEN_DSN); ravenClient.Release = Global.VERSION; ravenClient.Logger = "client"; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; }
0
2. Example
Project: Eddie
Source File: Engine.cs
Source File: Engine.cs
public override bool OnInit() { Application.ThreadException += new ThreadExceptionEventHandler(ApplicationThreadException); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Add the event handler for handling non-UI thread exceptions to the event. AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); bool result = base.OnInit(); return result; }
0
3. Example
Project: ArnoldSimulator
Source File: UnhandledExceptionCatcher.cs
Source File: UnhandledExceptionCatcher.cs
public static void RegisterHandlers() { if (Debugger.IsAttached) return; Application.ThreadException += ProcessThreadException; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += ProcessUnhandledException; }
0
4. Example
Project: logwizard
Source File: util.cs
Source File: util.cs
public static void init_exceptions() { if ( !util.is_debug) { Application.ThreadException += new ThreadExceptionEventHandler(on_thread_exc); // 2.2.186+ - http://msdn.microsoft.com/en-us/library/system.windows.forms.application.setunhandledexceptionmode%28v=vs.110%29.aspx Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException +=new UnhandledExceptionEventHandler(on_unhandled_exc); } }
0
5. Example
Project: Maple-Tree
Source File: MapleError.cs
Source File: MapleError.cs
public static void Initialize(string version) { if (Initialized) return; Initialized = true; Version = version; GitHub = new GitHubClient(new ProductHeaderValue("MapleSeed")) {Credentials = new Credentials(Token.FromBase64())}; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); Application.ThreadException += EventHandlers.ThreadException; AppDomain.CurrentDomain.UnhandledException += EventHandlers.UnhandledException; System.Windows.Application.Current.DispatcherUnhandledException += EventHandlers.DispatcherUnhandledException; //AppDomain.CurrentDomain.FirstChanceException += (sender, eventArgs) => { CreateBug(eventArgs.Exception); }; }
0
6. Example
Project: server
Source File: ExceptionHandler.cs
Source File: ExceptionHandler.cs
public static void AddGlobalHandlers() { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Catch all handled exceptions in managed code, before the runtime searches the Call Stack AppDomain.CurrentDomain.FirstChanceException += FirstChanceException; // Catch all unhandled exceptions in all threads. AppDomain.CurrentDomain.UnhandledException += UnhandledException; // Catch all unobserved task exceptions. TaskScheduler.UnobservedTaskException += UnobservedTaskException; // Catch all unhandled exceptions. Application.ThreadException += ThreadException; // Catch all WPF unhandled exceptions. Dispatcher.CurrentDispatcher.UnhandledException += DispatcherUnhandledException; }
0
7. Example
Project: opentheatre
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { if (Debugger.IsAttached) { Run(); return; } Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.ThreadException += ExceptionsEvents.ApplicationThreadException; AppDomain.CurrentDomain.UnhandledException += ExceptionsEvents.CurrentDomainUnhandledException; Run(); }
0
8. Example
Project: eve-o-preview
Source File: ExceptionHandler.cs
Source File: ExceptionHandler.cs
public void SetupExceptionHandlers() { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.ThreadException += delegate (Object sender, ThreadExceptionEventArgs e) { this.ExceptionEventHandler(e.Exception); }; AppDomain.CurrentDomain.UnhandledException += delegate (Object sender, UnhandledExceptionEventArgs e) { this.ExceptionEventHandler(e.ExceptionObject as Exception); }; }
0
9. Example
Project: ClearCanvas
Source File: Program.cs
Source File: Program.cs
[STAThread] private static void Main(string[] args) { //Always at least try to let our application code handle the exception. //Setting this to "catch" means the Application.ThreadException event //will fire first, essentially causing the app to crash right away and shut down. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); #if !MONO SplashScreenManager.DisplaySplashScreen(); #endif Platform.PluginManager.PluginLoaded += new EventHandler<PluginLoadedEventArgs>(OnPluginProgress); // check for command line arguments if (args.Length > 0) { // for the sake of simplicity, this is a naive implementation (probably needs to change in future) // if there is > 0 arguments, assume the first argument is a class name // and bundle the subsequent arguments into a secondary array which is // forwarded to the application root class string[] args1 = new string[args.Length - 1]; Array.Copy(args, 1, args1, 0, args1.Length); Platform.StartApp(args[0], args1); } else { Platform.StartApp(@"ClearCanvas.Desktop.Application", new string[0]); } }
0
10. Example
Project: TQVaultAE
Source File: Program.cs
Source File: Program.cs
[STAThread] [SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlAppDomain)] public static void Main() { // Set options for Right to Left reading. rightToLeft = (MessageBoxOptions)0; if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft) { rightToLeft = MessageBoxOptions.RightAlign | MessageBoxOptions.RtlReading; } // Add the event handler for handling UI thread exceptions to the event. Application.ThreadException += new ThreadExceptionEventHandler(MainForm_UIThreadException); // Set the unhandled exception mode to force all Windows Forms errors to go through our handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Add the event handler for handling non-UI thread exceptions to the event. AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
11. Example
Project: DllExport
Source File: App.cs
Source File: App.cs
private static void Run(Form frm) { Application.EnableVisualStyles(); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.Automatic); lock(sync) { Application.ThreadException -= OnThreadException; Application.ThreadException += OnThreadException; } try { Application.Run(frm); } catch(Exception ex) { UnknownFail(ex, false); } }
0
12. Example
Project: gInk
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.ThreadException += new ThreadExceptionEventHandler(UIThreadException); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); new Root(); Application.Run(); }
0
13. Example
Project: ColorWanted
Source File: Program.cs
Source File: Program.cs
[STAThread] public static void Main(params string[] args) { if (args.Length > 0 && !OnlineUpdate.HandleUpdateArgs(args)) { return; } bool createdNew; // ReSharper disable once ObjectCreationAsStatement new Mutex(true, Application.ProductName, out createdNew); if (!createdNew) { return; } // ?????????? Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.ThreadException += (sender, e) => { Util.ShowBugReportForm(e.Exception); }; AppDomain.CurrentDomain.UnhandledException += (sender, e) => { if (e.IsTerminating) { } Util.ShowBugReportForm((Exception)e.ExceptionObject); }; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); try { Application.Run(new MainForm()); } catch (ObjectDisposedException) { // ignore } }
0
14. Example
Project: NBTExplorer
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main (string[] args) { Application.ThreadException += AppThreadFailureHandler; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += AppDomainFailureHandler; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
15. Example
Project: animalcrossingqr
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.ThreadException += Application_ThreadException; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
16. Example
Project: PS4Macro
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { // Display console for debugging if enabled if (Settings.ShowConsole) { ConsoleHelper.AllocConsole(); ConsoleHelper.SetOut(); } // Add the event handler for handling UI thread exceptions to the event. Application.ThreadException += new ThreadExceptionEventHandler(OnThreadException); // Set the unhandled exception mode to force all Windows Forms errors // to go through the handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Add the event handler for handling non-UI thread exceptions to the event. AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(OnUnhandledException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Forms.MainForm()); }
0
17. Example
Project: OpenGL.Net
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new SharingForm()); }
0
18. Example
Project: OpenGL.Net
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new SharingForm()); }
0
19. Example
Project: OpenGL.Net
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new SampleForm()); }
0
20. Example
Project: TemplaterExamples
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.ThreadException += (s, ea) => ExceptionHandler.Log(ea.Exception); AppDomain.CurrentDomain.UnhandledException += (s, ea) => ExceptionHandler.Log(ea.ExceptionObject as Exception); Application.Run(new MainForm()); }
0
21. Example
Project: dnscrypt-winclient
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { // Add the event handler for handling UI thread exceptions to the event. Application.ThreadException += new ThreadExceptionEventHandler(Program.Form1_UIThreadException); // Set the unhandled exception mode to force all Windows Forms errors to go through our handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Add the event handler for handling non-UI thread exceptions to the event. AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new ApplicationForm()); }
0
22. Example
Project: vita
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.Run(new MainForm()); }
0
23. Example
Project: snaketail-net
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); Application.EnableVisualStyles(); Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.Automatic); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
24. Example
Project: ValveResourceFormat
Source File: Program.cs
Source File: Program.cs
[STAThread] internal static void Main() { AppDomain.CurrentDomain.UnhandledException += UnhandledException; //Application.ThreadException += WinFormsException; Application.EnableVisualStyles(); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
25. Example
Project: MinerControl
Source File: Program.cs
Source File: Program.cs
[STAThread] [SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlAppDomain)] static void Main(string[] args) { foreach (var arg in args) { switch (arg) { case "-a": case "--auto-start": HasAutoStart = true; break; case "-t": case "--minimize-to-tray": MinimizeToTray = true; break; case "-m": case "--minimize": MinimizeOnStart = true; break; } } Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(LastResortThreadExceptionHandler); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(LastResortDomainExceptionHandler); Application.Run(new MainWindow()); }
0
26. Example
Project: subtitleedit
Source File: Program.cs
Source File: Program.cs
[STAThread] private static void Main() { #if !DEBUG // Add the event handler for handling UI thread exceptions to the event. Application.ThreadException += Application_ThreadException; // Set the unhandled exception mode to force all Windows Forms errors to go through our handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Add the event handler for handling non-UI thread exceptions to the event. AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; #endif Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Main()); }
0
27. Example
Project: N3DSCmbViewer
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { /* Make sure OpenTK doesn't swallow ANY BLOODY EXCEPTION THAT OCCURES DURING RENDERING */ Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
28. Example
Project: PKHeX
Source File: Program.cs
Source File: Program.cs
[STAThread] private static void Main() { #if !DEBUG // Add the event handler for handling UI thread exceptions to the event. Application.ThreadException += UIThreadException; // Set the unhandled exception mode to force all Windows Forms errors to go through our handler. Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Add the event handler for handling non-UI thread exceptions to the event. AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; #endif if (!CheckNETFramework()) return; // Run the application Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Main()); }
0
29. Example
Project: AzureKeyVaultExplorer
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Telemetry.Init(); Application.ApplicationExit += (s, e) => Telemetry.Default.Flush(); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.ThreadException += (s, e) => TrackExceptionAndShowError(e.Exception); AppDomain.CurrentDomain.UnhandledException += (s, e) => TrackExceptionAndShowError(e.ExceptionObject as Exception); AppDomain.CurrentDomain.AssemblyResolve += (s, args) => ResolveMissingAssembly(args); // First run install steps Utils.ClickOnce_SetAddRemoveProgramsIcon(); ActivationUri.RegisterVaultProtocol(); // In case ActivationUri was passed perform the action and exit var form = new MainForm(ActivationUri.Parse()); if (!form.IsDisposed) { Application.Run(form); } }
0
30. Example
Project: HaSuite
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { // Startup #if !DEBUG AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; #endif Properties.Resources.Culture = CultureInfo.CurrentCulture; InfoManager = new WzInformationManager(); SettingsManager = new WzSettingsManager(GetLocalSettingsPath(), typeof(UserSettings), typeof(ApplicationSettings), typeof(Microsoft.Xna.Framework.Color)); SettingsManager.Load(); MultiBoard.RecalculateSettings(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); // Program run here GUI.Initialization initForm = new GUI.Initialization(); Application.Run(initForm); // Shutdown if (initForm.editor != null) initForm.editor.hcsm.backupMan.ClearBackups(); SettingsManager.Save(); if (Restarting) { Application.Restart(); } }
0
31. Example
Project: hf_at
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main(string[] args) { _errLog = "err_" + Application.ProductName + ".log"; var ver = new Version(Application.ProductVersion); Console.Title = $"AT {ver.Major}.{ver.MajorRevision}"; DisableCloseButton(Console.Title); //Application.Run(new Form1() { Text = Console.Title }); //??????????????????? //WINFORM???????? //???????? Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); //??UI???? Application.ThreadException += Application_ThreadException; //???UI???? AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; //???? //???????????->??plat->???????????->??->????????->?????????"??"->??(???????) using (Plat plat = new Plat() { Dock = DockStyle.Fill }) { using (Form f = new Form { Height = plat.Height, Width = plat.Width, Icon = Properties.Resources.HF }) { f.Controls.Add(plat); f.ShowDialog(); f.Close(); } } Environment.Exit(0); //???? }
0
32. Example
Project: beakn
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.ThreadException += Application_ThreadException; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; try { #region Windows Forms Init Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Beakn()); #endregion } catch (Exception e) { MessageBox.Show(e.ToString()); } }
0
33. Example
Project: KryBot
Source File: Program.cs
Source File: Program.cs
[STAThread] public static void Main() { StartupInfo(); Application.ThreadException += FormMain_UIThreadException; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); { ExceptionlessClient.Default.Register(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FormMain()); } }
0
34. Example
Project: HaSuite
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main(string[] args) { AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; CultureInfo ci = GetMainCulture(CultureInfo.CurrentCulture); Properties.Resources.Culture = ci; Thread.CurrentThread.CurrentCulture = ci; Thread.CurrentThread.CurrentUICulture = ci; string wzToLoad = null; if (args.Length > 0) wzToLoad = args[0]; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); bool firstRun = PrepareApplication(true); Application.Run(new MainForm(wzToLoad, true, firstRun)); EndApplication(true, true); }
0
35. Example
Project: FieldLog
Source File: FL.cs
Source File: FL.cs
private static void RegisterAppErrorHandler() { // Reference: http://code.msdn.microsoft.com/Ha/n ..... /n //View Source file for more details /n }
0
36. Example
Project: TileIconifier
Source File: Program.cs
Source File: Program.cs
[STAThread] private static void Main() { SetUpLanguageFromConfig(); ApplySkinFromConfig(); try { if (!SystemUtils.IsAdministrator()) { MessageBox.Show(Strings.RunAsAdminFull, @"TileIconifier - " + Strings.RunAsAdmin, MessageBoxButtons.OK, MessageBoxIcon.Stop); return; } } catch (UnableToDetectAdministratorException) { MessageBox.Show( Strings.VerifyAdminFull, @"TileIconifier - " + Strings.VerifyAdmin, MessageBoxButtons.OK, MessageBoxIcon.Stop); } VerifyOs(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; Application.ThreadException += Application_ThreadException; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); while (_doNotExit) { _doNotExit = false; _fm = new FrmMain(); _fm.LanguageChangedEvent += main_LanguageChangedEvent; Application.Run(_fm); } }
0
37. Example
Project: USBCopyer
Source File: Program.cs
Source File: Program.cs
[MTAThread] static void Main(string[] args) { logger.Source = Applicatio/n ..... /n //View Source file for more details /n }
0
38. Example
Project: fuckshadows-windows
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { TFOSupported = Utils.IsTcpFastOpenSuppo/n ..... /n //View Source file for more details /n }
0
39. Example
Project: idle_master
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { // Set the Browser emulation version for embedded browser control try { RegistryKey ie_root = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION"); RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", true); String programName = Path.GetFileName(Environment.GetCommandLineArgs()[0]); key.SetValue(programName, (int)10001, RegistryValueKind.DWord); } catch (Exception) { } Application.ThreadException += (o, a) => Logger.Exception(a.Exception); Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmMain()); }
0
40. Example
Project: Mahou
Source File: Program.cs
Source File: Program.cs
[STAThread] //DO NOT REMOVE THIS public static void Main(string[] args) { Application.E/n ..... /n //View Source file for more details /n }
0
41. Example
Project: OSUplayer
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.SetCompatibleTextRenderingD/n ..... /n //View Source file for more details /n }
0
42. Example
Project: winauth
Source File: WinAuthMain.cs
Source File: WinAuthMain.cs
[STAThread] static void Main() { try { // configure Logger var config = new Lo/n ..... /n //View Source file for more details /n }
0
43. Example
Project: chummer5a
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { using (_objGlobalMutex = new Mutex(fals/n ..... /n //View Source file for more details /n }
0
44. Example
Project: SE-Community-Mod-API
Source File: Program.cs
Source File: Program.cs
private static void Start(string[] args) { //Setup error handling for unmanaged exceptions A/n ..... /n //View Source file for more details /n }
0
45. Example
Project: Zero-K-Infrastructure
Source File: Program.cs
Source File: Program.cs
[STAThread] public static void Main(string[] args) { try { /n ..... /n //View Source file for more details /n }