Here are the examples of the csharp api class System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
200 Examples
0
1. Example
Project: CSMSL
Source File: Examples.cs
Source File: Examples.cs
[STAThread] private static void GuiExamples() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Peptide Calculator GUI Example //Application.Run(new PeptideCalculatorForm()); }
0
2. Example
Project: CM3D2.MaidFiddler
Source File: MaidFiddler.cs
Source File: MaidFiddler.cs
public void LoadGUI() { try { Application.SetCompatibleTextRenderingDefault(false); if (Gui == null) Gui = new MaidFiddlerGUI(this); Application.Run(Gui); } catch (Exception e) { FiddlerUtils.ThrowErrorMessage(e, "Generic error", this); } }
0
3. Example
Project: mptanks2d
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main( string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (var g = new GameBuilder()) g.Run(); }
0
4. Example
Project: BSA_Browser
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main(string[] args) { Application.SetCompatibleTextRenderingDefault(false); App myApp = new App(); myApp.Run(args); }
0
5. Example
Project: bedrock
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Bootstrapper bootstrapper = new Bootstrapper(); bootstrapper.Run(); }
0
6. Example
Project: bedrock
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); QuickStartBootstrapper bootstrapper = new QuickStartBootstrapper(); bootstrapper.Run(); }
0
7. Example
Project: bedrock
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); UiCompositionBootstrapper bootstrapper = new UiCompositionBootstrapper(); bootstrapper.Run(); }
0
8. Example
Project: WinLess
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main(string[] args) { CommandArguments commandLineArguments = new CommandArguments(args); if (!commandLineArguments.ConsoleExit) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SingleInstanceController controller = new SingleInstanceController(); controller.Run(args); } }
0
9. Example
Project: MvvmFx
Source File: Program.cs
Source File: Program.cs
[STAThread] private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); new AppBootstrapper().Run(); }
0
10. Example
Project: eve-o-preview
Source File: Program.cs
Source File: Program.cs
private static void InitializeWinFormsGui() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); }
0
11. Example
Project: NBi
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main(params string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.ThreadException += OnUnhandledException; var bootstrapper = new Bootstrapper(); bootstrapper.Boot(args); }
0
12. Example
Project: ShareX
Source File: Program.cs
Source File: Program.cs
private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Launcher.Run(args); }
0
13. Example
Project: VSProjectConverter
Source File: Application.Designer.cs
Source File: Application.Designer.cs
[STAThread] static void Main(string[] args) { System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false); MyApp = new MyApplication(); MyApp.Run(args); }
0
14. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); _form = new formMain { ClientSize = new Size(640, 480) }; // Get the initial time. _lastTime = GorgonTiming.MillisecondsSinceStart; // Run the application with an idle loop. // // The form will still control the life time of the application (i.e. the close button will end the application). // However, you may specify only the idle method and use that to control the application life time, similar to // standard windows application in C++. // Other overloads allow using only the form and assigning the idle method at another time (if at all), or setting // up an application context object to manage the life time of the application (with or without an idle loop // method). Gorgon.Run(_form, Idle); } catch (Exception ex) { // Catch all exceptions here. If we had logging for the application enabled, then this // would record the exception in the log. GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
15. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Get the initial time. _lastTime = GorgonTiming.MillisecondsSinceStart; // Run the application context with an idle loop. // // Here we specify that we want to run an application context and an idle loop. The idle loop // will kick in after the main form displays. Gorgon.Run(new Context(), Idle); } catch (Exception ex) { // Catch all exceptions here. If we had logging for the application enabled, then this // would record the exception in the log. GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
16. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Gorgon.Run(new MainForm()); } catch (Exception ex) { GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
17. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Gorgon.Run(new MainForm()); } catch (Exception ex) { GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
18. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Gorgon.Run(new FormMain()); } catch (Exception ex) { GorgonDialogs.ErrorBox(null, ex); } }
0
19. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Gorgon.Run(new MainForm()); } catch (Exception ex) { GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
20. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Gorgon.Run(new formMain()); } catch (Exception ex) { GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
21. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Gorgon.Run(new formMain()); } catch (Exception ex) { GorgonException.Catch(ex, () => GorgonDialogs.ErrorBox(null, ex)); } }
0
22. Example
Project: Gorgon
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Settings.Load(); Gorgon.PlugIns.AssemblyResolver = (appDomain, e) => appDomain.GetAssemblies() .FirstOrDefault(assembly => assembly.FullName == e.Name); Gorgon.Run(new AppContext()); } catch (Exception ex) { GorgonDialogs.ErrorBox(null, ex); } finally { Gorgon.PlugIns.AssemblyResolver = null; ContentManagement.UnloadCurrentContent(); // Clean up the plug-ins. foreach (var plugInItem in PlugIns.ContentPlugIns) { plugInItem.Value.Dispose(); } foreach (var plugInItem in PlugIns.WriterPlugIns) { plugInItem.Value.Dispose(); } // Shut down the graphics interface. if (ContentObject.Graphics != null) { ContentObject.Graphics.Dispose(); ContentObject.Graphics = null; } // Clean up temporary files in scratch area. if (Settings != null) { ScratchArea.DestroyScratchArea(); } EditorLogging.Close(); } }
0
23. Example
Project: ZetaResourceEditor
Source File: SkinHelper.cs
Source File: SkinHelper.cs
public static void InitializeAll() { DesignModeHelper.TurnOffDesignMode(); SkinManager.Default.RegisterAssembly(typeof(ZetaTestSkin).Assembly); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Below Windows Vista, use form skins. SkinManager.EnableFormSkinsIfNotVista(); //UserLookAndFeel.Default.ActiveLookAndFeel.SetSkinStyle(SkinNameDialogForms); UserLookAndFeel.Default.SetSkinStyle(SkinNameDialogForms); AppearanceObject.DefaultFont = StandardFont; _badc = new MyDefaultBarAndDockingController(); _badc.Apply(); }
0
24. Example
Project: LiteDevelop
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); LiteDevelopApplication.Run(args); }
0
25. Example
Project: WCell
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new Form1()); }
0
26. Example
Project: duality
Source File: Program.cs
Source File: Program.cs
private static void PrepareWinFormsApplication() { Application.CurrentCulture = Thread.CurrentThread.CurrentCulture; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.ThreadException += Application_ThreadException; AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; }
0
27. Example
Project: rensenware_force
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmMain()); }
0
28. Example
Project: rensenware-protect
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmMain()); }
0
29. Example
Project: alphaTab
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainWindow()); }
0
30. Example
Project: Borderless-Gaming
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Tools.Setup(); //use github updating for non-steam if (!Config.Instance.StartupOptions.IsSteam && Config.Instance.AppSettings.CheckForUpdates) { Tools.CheckForUpdates(); } ForegroundManager.Subscribe(); Application.Run(new MainWindow()); }
0
31. Example
Project: TraceLab
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
32. Example
Project: sharpneat
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
33. Example
Project: sharpneat
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
34. Example
Project: sharpneat
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
0
35. Example
Project: RNGReporter
Source File: Program.cs
Source File: Program.cs
[STAThread] private static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); if (args.Length > 0 && args[0] == "-r") Application.Run(new Researcher()); else Application.Run(new MainForm()); }
0
36. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
37. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
38. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
39. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
40. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
41. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
42. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
43. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
44. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
45. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
46. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
47. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
48. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
49. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
0
50. Example
Project: Krypton
Source File: Program.cs
Source File: Program.cs
[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }