C1Schedule 取消画面中的右键菜单功能
https://static.dingtalk.com/media/lADPJw1WUHpa2PfNA7zNBPw_1276_956.jpg_720x720q90g.jpg?bizType=imhttps://static.dingtalk.com/media/lADPJx8ZybI7WOvNA7zNBPw_1276_956.jpg_720x720q90g.jpg?bizType=im如何取消画面中右击出现菜单的功能可以添加下面的代码,通过BeforeContextMenuShow 事件禁止
c1Schedule1.BeforeContextMenuShow += C1Schedule1_BeforeContextMenuShow;
private void C1Schedule1_BeforeContextMenuShow(object sender, C1.Win.C1Schedule.BeforeContextMenuShowEventArgs e)
{
e.Cancel = true;
} Richard.Ma 发表于 2022-10-25 16:50
可以添加下面的代码,通过BeforeContextMenuShow 事件禁止
好的,非常感谢 不客气
页:
[1]