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

151. Example

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

152. Example

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

153. Example

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

154. Example

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

            Application.Run(new Form1());
        }

155. Example

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

156. Example

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

157. Example

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

158. Example

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

159. Example

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

160. Example

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

161. Example

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

162. Example

Project: OpenGL.Net
Source File: GlControl.cs
[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);
				}
			}
		}

163. Example

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

164. Example

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

165. Example

Project: RoomAliveToolkit
Source File: ProjectionMappingSample.cs
[STAThread]
        static void Main(string[] args)
        {
            Application.Run(new ProjectionMappingSample(args));
        }

166. Example

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

167. Example

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

168. Example

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

169. Example

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

170. Example

Project: OpenLiveWriter
Source File: DiagnosticsConsole.cs
private void ConsoleThreadStart()
        {
            Application.Run(this);
        }

171. Example

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

172. Example

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

173. Example

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

174. Example

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

175. Example

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

176. Example

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

177. Example

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

178. Example

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

179. Example

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

180. Example

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

181. Example

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

182. Example

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

183. Example

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

184. Example

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

185. Example

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

186. Example

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

187. Example

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

188. Example

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

189. Example

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

190. Example

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

            Application.Run(new Form1());
        }

191. Example

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

            return DialogResult.OK;
        }

192. Example

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

193. Example

Project: GameLibrary
Source File: Program.cs
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);
        }

194. Example

Project: GameLibrary
Source File: Program.cs
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);
        }

195. Example

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

196. Example

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

197. Example

Project: bukkitgui2
Source File: Launcher.cs
public static void Run()
		{
			Application.Run(new MainForm());
		}

198. Example

Project: HttpCompress
Source File: EntryPoint.cs
[STAThread]
    static void Main(string[] args) {
      Application.Run(new MainForm());
    }

199. Example

Project: screencast-capture
Source File: NativeKeyboardContext.cs
private void run()
        {
            // Install the global mouse hook and starts its own message pump
            using (HookHandle hook = SafeNativeMethods.SetWindowHook(lowLevelKeyboardProcHook))
            {
                Application.Run(context);
            }
        }

200. Example

Project: screencast-capture
Source File: NativeMouseContext.cs
private void run()
        {
            // Install the global mouse hook and starts its own message pump
            using (HookHandle hook = SafeNativeMethods.SetWindowHook(lowLevelMouseProcHook))
            {
                Application.Run(context);
            }
        }