Show() 공개 메소드

Causes the exception to be displayed on the screen
public Show ( Exception exception ) : void
exception System.Exception The exception to display
리턴 void
예제 #1
0
파일: Program.cs 프로젝트: WolfgangSt/axiom
		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
			}

		}