private void schedule1_AppointmentClick(object sender, Gravitybox.Objects.EventArgs.AppointmentMouseEventArgs e) { if (e.Button == MouseButtons.Right) { this.contextMenuAppointment.Show(this.schedule1, e.X, e.Y); } }
private void schedule1_AppointmentClick(object sender, Gravitybox.Objects.EventArgs.AppointmentMouseEventArgs e) { try { if (e.Button == System.Windows.Forms.MouseButtons.Right) { this.AppointmentMenu.Show(schedule1, new System.Drawing.Point(e.X, e.Y)); } } catch (Exception ex) { throw ex; } }
private void schedule1_AppointmentHeaderInfoClick(object sender, Gravitybox.Objects.EventArgs.AppointmentMouseEventArgs e) { MessageBox.Show("You clicked the info box for appointment: " + e.Appointment.Subject, "Information", MessageBoxButtons.OK, MessageBoxIcon.Information); }