Ejemplo n.º 1
0
        void rosterFileLoaderThread_DoWork(object sender, DoWorkEventArgs e)
        {
            try
            {
                model = new EditorModel(filePathToLoad, this, bigendian, Mad19);
            }
            catch (ApplicationException err)
            {
                model = null;
                ExceptionDialog.Show(err);
            }

            if (model != null)
            {
                manager.model = model;
                manager.InitDB();
                model.InitColleges(manager);
            }
        }
Ejemplo n.º 2
0
        public static void Show(Exception e)
        {
            ExceptionDialog dialog = new ExceptionDialog(e);

            dialog.ShowDialog();
        }