mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
19 lines
410 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|