Added event handler for when values change to ArgumentBox control

This commit is contained in:
biwa 2022-02-19 11:21:28 +01:00
parent 12f0d53775
commit 1f13839dbd

View file

@ -45,6 +45,11 @@ namespace CodeImp.DoomBuilder.Controls
public override string Text { get { return combobox.Text; } } //mxd
[Browsable(true)]
[Category("Action")]
[Description("Invoked when user clicks button")]
public event EventHandler ValueChanged;
#endregion
#region ================== Constructor
@ -142,6 +147,8 @@ namespace CodeImp.DoomBuilder.Controls
forcevalidate = false;
combobox_Validating(sender, new CancelEventArgs());
}
ValueChanged?.Invoke(sender, EventArgs.Empty);
}
// Mouse wheel used