private void ContextMenuClick(object userData, string[] options, int selected) { if (selected >= 0) { switch (this.dropDownMenuItems[selected]) { case "Compare": this.DoShowDiff(false); break; case "Compare Binary": this.DoShowDiff(true); break; } } }