DeleteHunt() public static method

public static DeleteHunt ( Hunt h ) : void
h Hunt
return 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);
        }