private void richEditControl1_HyperlinkClick(object sender, DevExpress.XtraRichEdit.HyperlinkClickEventArgs e) { Guid taskID; bool taskIDFound = extractTaskIDFromHyperlink(e.Hyperlink, out taskID); if (taskIDFound == true) { _parent.selectRowByTaskID(taskID); e.Handled = true; return; } //else // MessageBox.Show(string.Format("Could not find selected task"), "Info", MessageBoxButtons.OK, MessageBoxIcon.Information); }
private void richEditControl1_HyperlinkClick(object sender, DevExpress.XtraRichEdit.HyperlinkClickEventArgs e) { Guid taskID; bool taskIDFound = extractTaskIDFromHyperlink(e.Hyperlink, out taskID); if (taskIDFound == true) { _parentForm.selectRowByTaskID(taskID); e.Handled = true; if (e.Control) { _parentForm.openSelectedTask(); } return; } }