Beispiel #1
0
        public static void Main(string[] args)
        {
            Application.Init ();
            MainWindow win = new MainWindow ();

            Repository repo = new MyRepository();
            Controller ctrl = new Controller(repo);
            List<PrgState> programs = new List<PrgState>();
            ctrl.PrgList = programs;
            win.Ctrl = ctrl;

            win.Show ();
            Application.Run ();
        }
 private void lastProgramState()
 {
     Repository repo = new MyRepository ();
     repo.deserializePrgStatet ();
     ctrl = new Controller(repo);
 }