00001 using System; 00002 using System.Collections.Generic; 00003 using System.Text; 00004 using System.Reflection; 00005 using HouseOver.THARM; 00006 using System.IO; 00007 00011 namespace HouseOver 00012 { 00016 public class StartUp 00017 { 00018 private const string fileName = "Test.bin"; 00022 public static void Main() 00023 { 00024 CatalogueData data = File.Exists(fileName) ? new CatalogueData(fileName) : new CatalogueData(); 00025 RealtyManager manager = new RealtyManager(data); 00026 manager.Run(); 00027 data.Serialize(fileName); 00028 00029 } 00030 } 00031 } 00032