public void SetUp()
 {
     if (File.Exists(ApplicationHlp.MapPath("last.cex")))
     File.Delete(ApplicationHlp.MapPath("last.cex"));
       model = new Model();
       manager = new ModelStateManager(delegate { return new Model(); }, delegate(Model m) { });
       manager.InitModel(delegate { return model; });
 }
Esempio n. 2
0
        public MainForm()
        {
            InitializeComponent();
              stateManager = new ModelStateManager(LoadModelFromSettings, SaveModelToSettings);

              Splash splash = new Splash(this, 5);
              splash.TopMost = true;
              splash.Show();
        }