可以添加下面的代码,通过BeforeContextMenuShow 事件禁止
- c1Schedule1.BeforeContextMenuShow += C1Schedule1_BeforeContextMenuShow;
- private void C1Schedule1_BeforeContextMenuShow(object sender, C1.Win.C1Schedule.BeforeContextMenuShowEventArgs e)
- {
- e.Cancel = true;
- }
复制代码 |
|