private ContextMenuClick ( object userData, string options, int selected ) : void | ||
userData | object | |
options | string | |
selected | int | |
return | void |
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;
}
}
}