DeleteHunt() публичный статический Метод

public static DeleteHunt ( Hunt h ) : void
h Hunt
Результат void
Пример #1
0
        private void HuntList_AttemptDeleteItem(object sender, EventArgs e)
        {
            if (HuntManager.HuntCount() <= 1)
            {
                return;
            }
            Hunt h = getSelectedHunt();

            HuntManager.DeleteHunt(h);
            HuntManager.SaveHunts();
            refreshHunts(true);
        }