public CatalogManager() { _status = CatalogManagerStatus.Selecting; // Initialize catalog variables string applicationDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); CatalogFile = applicationDirectory + "../../../../KinectTherapyContent/Exercises/MasterCatalog.xml"; _workoutList = new List <Exercise>(); // load the datatable. CatalogXmlLinqData(); }
public void ClearWorkout() { _status = CatalogManagerStatus.Selecting; _workoutList.Clear(); }
public CatalogManager() { _status = CatalogManagerStatus.Selecting; // Initialize catalog variables var applicationDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); CatalogFile = applicationDirectory + "../../../../KinectTherapyContent/Exercises/MasterCatalog.xml"; _workoutList = new List<Exercise>(); // load the datatable. CatalogXmlLinqData(); }