using System; using System.ComponentModel; using System.Windows.Forms; namespace NvCplAdjust { public partial class ctrlRadioButtonEx : System.Windows.Forms.RadioButton { public ctrlRadioButtonEx() { InitializeComponent(); this.SetStyle(ControlStyles.StandardClick | ControlStyles.StandardDoubleClick, true); } [EditorBrowsable(EditorBrowsableState.Always), Browsable(true)] public new event MouseEventHandler MouseDoubleClick; protected override void OnMouseDoubleClick(MouseEventArgs e) { base.OnMouseDoubleClick(e); // raise the event if (this.MouseDoubleClick != null) this.MouseDoubleClick(this, e); } } }