/// <summary> /// The main entry point for the application. /// </summary> private static void Main() { try { IApplicationContext ctx = ContextRegistry.GetContext(); form = new ResourcesDisplayForm(); DemoMessageLocalization(ctx); DemoImageResource(ctx); Application.Run(form); } catch (Exception e) { write(e.Message); write(e.StackTrace); if (e.InnerException != null) { write(e.InnerException.Message); } } }
/// <summary> /// The main entry point for the application. /// </summary> private static void Main() { try { IApplicationContext ctx = ContextRegistry.GetContext(); form = new ResourcesDisplayForm(); DemoMessageLocalization(ctx); DemoImageResource(ctx); Application.Run(form); } catch (Exception e) { write(e.Message); write(e.StackTrace); if (e.InnerException != null) { write(e.InnerException.Message); } } }