System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)

Here are the examples of the csharp api class System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

200 Examples 7

1. Example

Project: ImageGlass
Source File: Core.cs
View license
public static void CheckForUpdate()
        {
            Application.Run(new frmCheckForUpdate());
        }

2. Example

Project: ImageGlass
Source File: Core.cs
View license
public static void InstallTheme(string filename)
        {
            Application.Run(new frmInstallTheme(filename));
        }

3. Example

Project: cs-2015-7-alpha
Source File: Program.cs
View license
[STAThread]
        public static void Main ()
        {
            Application.Run (new GameWindow ());
        }

4. Example

Project: DroppedBoxx
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }

5. Example

Project: Asgard
Source File: Program.cs
View license
static void Main(string[] args)
        {
            var form = new MainForm();
            Application.Run(form);
        }

6. Example

Project: Asgard
Source File: Program.cs
View license
static void Main(string[] args)
        {
            MainForm form = new MainForm();
            Application.Run(form);
        }

7. Example

Project: 2D-isometricEditor
Source File: Program.cs
View license
[STAThread]
        static void Main()
        {
            //Application.EnableVisualStyles();
            Application.Run(mainForm);
        }

8. Example

Project: TinyIoC
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            TinyIoC.TinyIoCContainer.Current.AutoRegister();

            Application.Run(new Form1());
        }

9. Example

Project: 32feet
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }

10. Example

Project: 32feet
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }

11. Example

Project: 32feet
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }

12. Example

Project: 32feet
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }

13. Example

Project: bedrock
Source File: Bootstrapper.cs
View license
protected override void ShowStartup()
        {
            Application.Run(_startForm);
        }

14. Example

Project: bedrock
Source File: QuickStartBootstrapper.cs
View license
protected override void ShowStartup()
        {
            Application.Run(_startForm);
        }

15. Example

Project: bedrock
Source File: Bootstrapper.cs
View license
protected override void ShowStartup()
        {
            Application.Run(_startForm);
        }

16. Example

Project: OpenGL.Net
Source File: GlControl.cs
View license
[Test(Description = "Test Single thread management")]
		public void TestMinimalCase()
		{
			using (TestForm testForm = new TestForm()) {
				using (System.Threading.Timer taskDelay = new System.Threading.Timer(delegate (object state) {
					testForm.Invoke(new Action(delegate() { testForm.Close(); }));
				}, null, 7500, Timeout.Infinite)) {
					Application.Run(testForm);
				}
			}
		}

17. Example

Project: My-FyiReporting
Source File: DataTests.cs
View license
[STAThread]
		static void Main() 
		{
			Application.Run(new Form1());
		}

18. Example

Project: ZXing.Net
Source File: Program.cs
View license
[MTAThread]
      static void Main()
      {
         Application.Run(new WindowsCEDemoForm());
      }

19. Example

View license
[STAThread]
        static void Main(string[] args)
        {
            Application.Run(new ProjectionMappingSample(args));
        }

20. Example

Project: libfintx
Source File: Program.cs
View license
static bool openFlickerWindow()
        {
            Application.Run(new Flicker());
            return true;
        }

21. Example

Project: libfintx
Source File: Program.cs
View license
static bool openTANWindow()
        {
            Application.Run(new TAN());
            return true;
        }

22. Example

Project: mysql-connector-net
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new MainForm());
        }

23. Example

Project: VanillaAddIn
Source File: AddIn.cs
View license
private void ShowForm()
		{
			this.mainForm = new MainForm(this.OneNoteApplication);
            System.Windows.Forms.Application.Run(this.mainForm);
		}

24. Example

View license
private void ConsoleThreadStart()
        {
            Application.Run(this);
        }

25. Example

Project: EvoNet
Source File: Program.cs
View license
[STAThread]
        static void Main()
        {
            using (var myForm = new MainForm())
            {
                Application.Run(myForm);
            }
            //using (var game = new EvoGame())
            //    game.Run();
        }

26. Example

Project: WOT-Statistics
Source File: Splash.cs
View license
static private void ShowForm()
          {
              ms_frmSplash = new SplashScreen();
              Application.Run(ms_frmSplash);
          }

27. Example

Project: mysqltuner
Source File: FormLogOn.cs
View license
public static void OpenMainForm(MySqlServer server)
        {
            Application.Run(new FormMain(server));
        }

28. Example

Project: MailSystem.NET
Source File: ManageForm.cs
View license
private static void FctThreadInitialize()
		{
			_mainForm = new MainForm();
			Application.Run(_mainForm);
		}

29. Example

Project: MailSystem.NET
Source File: Main.cs
View license
public static void test()
		{
			ActiveQLibrary.Form.MainForm main = new ActiveQLibrary.Form.MainForm();
			
			Application.Run(main);
		}

30. Example

Project: synthesis
Source File: Program.cs
View license
[STAThread]
        static void Main(string[] args)
        {
            if (args.Length != 0)
            {
                LaunchParams.Load(args);
                Application.Run(new InventorViewerForm());
            }
            else
            {
                LaunchParams.Defaults();
                Application.Run(new StandaloneViewerForm());
            }
        }

31. Example

Project: JabberNet-2010
Source File: Program.cs
View license
[STAThread]
        static void Main()
        {
            Application.Run(new MainForm());
        }

32. Example

Project: mooege
Source File: Program.cs
View license
static void Main(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
            Application.Run(new MainForm());
        }

33. Example

Project: MailSystem.NET
Source File: ManageForm.cs
View license
private static void FctThreadInitialize()
		{
			_mainForm = new MainForm();
			Application.Run(_mainForm);
		}

34. Example

Project: MailSystem.NET
Source File: Main.cs
View license
public static void test()
		{
			ActiveQLibrary.Form.MainForm main = new ActiveQLibrary.Form.MainForm();
			
			Application.Run(main);
		}

35. Example

Project: MailSystem.NET
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new MainHost());
        }

36. Example

Project: MailSystem.NET
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new MainHost());
        }

37. Example

Project: MailSystem.NET
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new MainHost());
        }

38. Example

Project: SevenZipSharp
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new FormMain());
        }

39. Example

Project: ynoteclassic
Source File: Program.cs
View license
private static void update_UpdateDownload(UpdateDownloadEventArgs e)
        {
            Application.Run(new UpdateWindow(e.Update));
        }

40. Example

Project: SevenZipSharp
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new FormMain());
        }

41. Example

Project: UfcppSample
Source File: ReversiForm.cs
View license
[STAThread]
		static void Main() 
		{
			Application.Run(new ReversiMainForm());
		}

42. Example

Project: UfcppSample
Source File: MainForm.cs
View license
static void Main(string[] args)
		{
//!			AppTest.Hoge(args);
			Application.Run(new MainForm());
		}

43. Example

Project: server
Source File: UlteriusTray.cs
View license
private static void OpenAbout()
        {
            Application.Run(new AboutBox()); // or whatever
            AboutOpen = true;
        }

44. Example

Project: ZetaResourceEditor
Source File: Program.cs
View license
[STAThread]
        static void Main()
        {
            SkinHelper.InitializeAll();

            Application.Run(new Form1());
        }

45. Example

Project: vrs
Source File: MainView.cs
View license
public override DialogResult ShowView()
        {
            Application.Run(this);

            return DialogResult.OK;
        }

46. Example

Project: spartacus-csharp
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }

47. Example

Project: GameLibrary
Source File: Program.cs
View license
static void Main(string[] args)
        {
            var form = new MainForm();
            var config = XGL.Configure()
                .DefaultComponents()
                .DefaultInput()
                .Scenes(new ServerScene())
                .Graphics<GdiInitializer>()
                .BackBuffer(form.ClientSize)
                .Surface(form)
                .FrameRate(60)
                .BuildConfiguration();

            XGL.Run(config);

            IRandom random = new RandomProxy();

            Syncput syncput = XGL.Components.Get<Syncput>();
            syncput.Host(15565, random.Next(), 8);
            
            Application.Run(form);
        }

48. Example

Project: GameLibrary
Source File: Program.cs
View license
static void Main(string[] args)
        {
            var form = new InputForm();

            var config = XGL.Configure()
                .BackBuffer(form.ClientSize)
                .Content(Format.Xml)
                .CreatePlayerInput()
                .FrameRate(60)
                .Graphics<GdiGraphicsInitializer>()
                .Surface(form)
                .Scenes(new TestScene())
                .BuildConfiguration();

            XGL.Run(config);
            Application.Run(form);
        }

49. Example

Project: 3DNUS
Source File: Program.cs
View license
[STAThread]
        public static int Main(string[] args)
        {
            const bool simpleSub/n ..... /n //View Source file for more details /n }

50. Example

Project: 3DNUS
Source File: Program.cs
View license
[MTAThread]
        static void Main()
        {
            Application.Run(new Form1());
        }