1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-14 17:42:47 +01:00
TweetDuck/Controls/NumericUpDownEx.cs

19 lines
410 B
C#

using System.ComponentModel;
using System.Windows.Forms;
namespace TweetDuck.Controls {
sealed class NumericUpDownEx : NumericUpDown {
public string TextSuffix { get; set ; }
protected override void UpdateEditText() {
base.UpdateEditText();
if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) {
ChangingText = true;
Text += TextSuffix;
ChangingText = false;
}
}
}
}