static void Main(string[] args) { try { test test = new test(args.Length > 0 ? args[0] : null); test.build(); test.render("::options", new FiFileDisplay("output.png"));//new FileDisplay("output.tga")); } catch (Exception ex) { Console.Write(ex); } }
static void Main(string[] args) { try { test test = new test(args.Length > 0 ? args[0] : null); test.build(); test.render("::options", new FileDisplay(string.Format("output{0:yyyy-MM-dd_hh-mm-ss-tt}.png", DateTime.Now))); //new FileDisplay("output.tga")); } catch (Exception ex) { Console.Write(ex); } }