mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-18 21:52:34 +08:00
23 lines
504 B
C#
23 lines
504 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace PDFPatcher.Functions
|
|
{
|
|
sealed class DoubleClickableRadioButton : RadioButton
|
|
{
|
|
public DoubleClickableRadioButton() {
|
|
SetStyle(ControlStyles.StandardClick | ControlStyles.StandardDoubleClick, true);
|
|
}
|
|
|
|
public new event EventHandler DoubleClick;
|
|
|
|
protected override void OnMouseDoubleClick(MouseEventArgs e) {
|
|
base.OnMouseDoubleClick(e);
|
|
|
|
DoubleClick?.Invoke(this, e);
|
|
}
|
|
}
|
|
}
|