void TreeCutRecord(CutTreeEvents e) { switch (e.TreeID) { case 1: Tree1Cut = e.isCut; break; case 2: Tree2Cut = e.isCut; break; } }