/// <summary> /// 鼠标右键按下事件; /// </summary> public bool OnMouseRightDown(JsonData jsonData) { switch (jsonData.Count) { case 1: throw new Exception("配置文件参数不对!"); case 2: return(FunctionLibrary.OnMouseRightDown(jsonData[1].ToString())); case 3: return(FunctionLibrary.OnMouseRightDown(jsonData[1].ToString(), jsonData[2].ToString())); case 4: return(FunctionLibrary.OnMouseRightDown(jsonData[1].ToString(), jsonData[2].ToString(), jsonData[3].ToJson())); } return(false); }