Пример #1
0
		public void LoadData(DataObject dataObject)
		{
			Stop();

			Status = StorageStatus.Starting;

			WorkerThread = new StorageThread(this);
			WorkerThread.Name = "LoadThread";
			WorkerThread.InitializeStorageInteraction(StorageRequestType.Load, dataObject);
			WorkerThread.Start();
		}
Пример #2
0
		public void DeleteAllData()
		{
			Stop();
		
			Status = StorageStatus.Starting;
			
			WorkerThread = new StorageThread(this);
			WorkerThread.Name = "DeleteAllThread";
			WorkerThread.InitializeStorageInteraction(StorageRequestType.DeleteAll);
			WorkerThread.Start();
		}