public override int checkNote(MYPoint pt) { p = pt; ps.Add(pt); isClick(); int num = isContain(); if (getPress() && oneNote && num != 0) { oneNote = false; return num; } checkDrum tcp = new checkDrum(); if (ps.Count() > 1) { tcp = new checkDrum(ps[ps.Count() - 2]); tcp.isClick(); if (!this.getPress() && tcp.getPress()) { oneNote = true; ps.Clear(); } } return 0; }