Projects

Find all our projects in development below.
All source code is GNU General Public License (GPL)

Nvidia Control Panel Adjust

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);
        }
    }
}

Download ctrlRadioButtonEx.cs

Back to file list


Back to project page