mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
Added event handler for when values change to ArgumentBox control
This commit is contained in:
parent
12f0d53775
commit
1f13839dbd
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue