/// <summary> /// 全削除コマンドを実行する /// </summary> /// <param name="someBook"></param> private void DelAllCommandExecute() { books.DelAll(); DataBaseManager.DelAllDataBase(); CollectionList.Clear(); }
private void ClearCollectionsProc() { CollectionList.Clear(); Points.Clear(); TrapList[0].NoOfCaughtMosquitoes = 0; TrapList[1].NoOfCaughtMosquitoes = 0; TrapList[2].NoOfCaughtMosquitoes = 0; TotalMales = 0; TotalFemales = 0; }
/// <summary> /// 削除コマンドを実行する /// </summary> /// <param name="someBook"></param> private void DelCommandExecute(Book someBook) { books.Del(someBook); CollectionList.Clear(); foreach (var book in books.GetList()) { CollectionList.Add(book); } }
/// <summary> /// 全削除コマンドを実行する /// </summary> /// <param name="someBook"></param> private void DelAllCommandExecute() { books.DelAll(); CollectionList.Clear(); }