Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
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;
        }