/// <summary> /// User has clicked the caption /// </summary> /// <param name="sender">Event sender</param> /// <param name="e">Event arguments</param> private void OnCaptionLabelDoubleClick(object sender, ButtonPressEventArgs e) { if (e.Event.Type == Gdk.EventType.TwoButtonPress && e.Event.Button == 1 && OnCaptionClick != null) { OnCaptionClick.Invoke(this, e); } }
/// <summary> /// User has clicked the caption /// </summary> /// <param name="sender">Event sender</param> /// <param name="e">Event arguments</param> private void OnCaptionLabelDoubleClick(object sender, EventArgs e) { if (OnCaptionClick != null) { OnCaptionClick.Invoke(this, e); } }