/// <summary> /// event is fired when Note Control _ Double Click /// </summary> private void NoteControl_DoubleClick(object sender, EventArgs e) { // if the value for HasParentMainForm is true if (HasParentMainForm) { // Click the Edit Button ParentMainForm.ClickEditButton(); } }
/// <summary> /// event is fired when the 'EditNoteButton' is clicked. /// </summary> private void EditNoteButton_Click(object sender, EventArgs e) { // if the value for HasParentMainForm is true if (HasParentMainForm) { // click the edit button ParentMainForm.ClickEditButton(); } }