public static int Main(string[] args) { App app = new App(); app.InitializeComponent(); try { StartWindow sw = new StartWindow(); app.Run(sw); } catch (Exception ex) { MessageBox.Show(ex.ToString(), "ERROR"); return 1; } return 0; }
public static int Main(string[] args) { try { App app = new App(); app.InitializeComponent(); app.createConfigDir(); app.moveFilesToUserConfigDir(); StartWindow sw = new StartWindow(); app.Run(sw); } catch (Exception ex) { MessageBox.Show(ex.ToString(), "ERROR"); return 1; } return 0; }