Find all our projects in development below.
All source code is GNU General Public License (GPL)
Browsing ctrlRadioButtonEx.cs (796 B)
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);
}
}
}