static int Main(string [] args) { //try //{ using (RogueBase d = new RogueBase()) { return d.Run(args); } // } //catch (Exception e) //{ // MessageBox.Show("Error occurred, please check the log file. Terminating. Error: " + e.Message); // return 1; //} }
static int Main(string [] args) { try { using (RogueBase d = new RogueBase()) { return(d.Run(args)); } } catch (Exception e) { MessageBox.Show("Error occurred: " + e.Message); return(1); } }
static int Main(string [] args) { try { using (RogueBase d = new RogueBase()) { return d.Run(args); } } catch (Exception e) { MessageBox.Show("Error occurred: " + e.Message); return 1; } }
static int Main(string [] args) { //try //{ using (RogueBase d = new RogueBase()) { return(d.Run(args)); } // } //catch (Exception e) //{ // MessageBox.Show("Error occurred, please check the log file. Terminating. Error: " + e.Message); // return 1; //} }