PageRenderTime 48ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/System.cs

https://github.com/andreasmuller/MissionPlanner
C# | 45 lines | 37 code | 8 blank | 0 comment | 0 complexity | b3744573fec2d57557527c38455aea70 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Security.Permissions;
  6. using System.Text;
  7. using System.Threading;
  8. using System.Windows.Forms;
  9. namespace System
  10. {
  11. public class Application11
  12. {
  13. public static string ExecutablePath { get {return System.Windows.Forms.Application.ExecutablePath;} }
  14. public static string StartupPath { get { return System.Windows.Forms.Application.StartupPath; } }
  15. public static void DoEvents()
  16. {
  17. System.Windows.Forms.Application.DoEvents();
  18. }
  19. public static string ProductVersion { get { return System.Windows.Forms.Application.ProductVersion; } }
  20. public static void Exit()
  21. {
  22. System.Windows.Forms.Application.Exit();
  23. }
  24. public static void EnableVisualStyles()
  25. {
  26. System.Windows.Forms.Application.EnableVisualStyles();
  27. }
  28. public static void SetCompatibleTextRenderingDefault(bool p)
  29. {
  30. System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(p);
  31. }
  32. public static void Run(Form mainV2)
  33. {
  34. System.Windows.Forms.Application.Run(mainV2);
  35. }
  36. }
  37. }