|
private void scheduleControl1_ScheduleAppointmentClick(object sender, ScheduleAppointmentClickEventArgs e)
{
if (e.ClickType == ScheduleAppointmentClickType.RightClick && scheduleControl1.GetScheduleHost().ContextMenuStrip != null)
{
this.scheduleControl1.GetScheduleHost().ContextMenuStrip.Items[0].Visible = false;
this.scheduleControl1.GetScheduleHost().ContextMenuStrip.Items[1].Visible = false;
this.scheduleControl1.GetScheduleHost().ContextMenuStrip.Items[2].Visible = false;
this.scheduleControl1.GetScheduleHost().ContextMenuStrip.Items[3].Visible = false;
this.scheduleControl1.GetScheduleHost().ContextMenuStrip.Items[4].Visible = false;
this.scheduleControl1.GetScheduleHost().ContextMenuStrip.Items[5].Visible = false;
}
} |
good morning friends, I have a doubt, the same thing happened to me and according to the indications I was able to solve it, on the one hand thanks, on the other hand I have doubts about how to implement it but with double click, that is, I go to the events and create a double click method , I enter the similar code but it does not work for me
How should I configure it so that the dialog box is not shown when I double click?
Hi Luis Miguel,
We are a little unclear about your scenario. By default, when you are double-clicking the appointment label appointment form should be shown as you mentioned. Could you please confirm whether your requirement is to show the context menu strip while double click the appointment itself or once you are performing the right click after doing the double click? Based on your confirmation we will proceed with this further.
Regards,
Dhanasekar M.
Look for the item you want to remove “Open With”, right click it and select “Delete” from the list. This will remove the key, its sub-keys and the option will not appear when you right-click a file.
Regards