private void ContextMenuClick(object userData, string[] options, int selected)
{
if (selected >= 0)
{
switch (this.dropDownMenuItems[selected])
{
case "Compare":
this.DoShowMyDiff(false);
break;
case "Compare Binary":
this.DoShowMyDiff(true);
break;
case "Discard":
this.DoMyRevert(false);
break;
case ">>>":
this.DoTransferAll(this.pv1state, this.pv2state, this.pv1state.selectedFolder, this.pv1state.selectedFile);
break;
case "<<<":
this.DoTransferAll(this.pv2state, this.pv1state, this.pv2state.selectedFolder, this.pv2state.selectedFile);
break;
}
}
}