Axiom.Samples.Program.Main C# (CSharp) Method

Main() private method

private Main ( ) : void
return void
		static void Main()
		{
			try
			{
#if !(XBOX || XBOX360)
				Thread.CurrentThread.CurrentCulture = new CultureInfo( "en-US", false );
				using ( SampleBrowser sb = new SampleBrowser() )
#else
				using (SampleBrowser sb = new XBox.SampleBrowser())
#endif
				{
					sb.Go();
				}
			}
			catch ( Exception ex )
			{
#if !(XBOX || XBOX360)
				IErrorDialog messageBox = new WinFormErrorDialog();
				messageBox.Show( ex );
#else
				Debug.WriteLine( LogManager.BuildExceptionString( ex ) );
#endif
			}

		}
	}
Program