Beispiel #1
0
        public static void Main(string[] args)
        {
            PayrollDatabase database =
                new InMemoryPayrollDatabase();
            WindowViewLoader viewLoader =
                new WindowViewLoader(database);

            viewLoader.LoadPayrollView();
            Application.Run(viewLoader.LastLoadedView);
        }
Beispiel #2
0
 public void SetUp()
 {
     database   = new InMemoryPayrollDatabase();
     viewLoader = new WindowViewLoader(database);
 }