public void Configuration() { if (App.Riviera == null) { App.Riviera = new RivieraApplication(); } WinAppSettings win = new WinAppSettings(); win.ShowDialog(); }
static void Main(string[] args) { try { if (App.Riviera == null) { App.Riviera = new RivieraApplication(); } WinAppSettings win = new WinAppSettings(); win.ShowDialog(); } catch (Exception exc) { Console.WriteLine(exc.Message); } }