See UltraMonthViewSingle.GetDayFromPoint
Hi,
private void ultraMonthViewSingle1_Click(object sender, EventArgs e) {
// Here i need to identify if the user clicked place is a day slot. because when every the user click in scroll button also this event fired and its //going to AddDayNotes method. i need to restrict this operation in user click
if (<some Identifycation >) {AddDayNotes();}
if (<some Identifycation >)
{
AddDayNotes();
}
You can use the GetDayFromPoint method, and if the return is null, you know that the cursor is no positioned over a day. You can use the MouseClick event instead of the Click event so that you get the client coordinates without having to get the cursor position and convert.