mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-08-17 00:31:42 +02:00
Configuration
Core
Bridge
Controls
ControlExtensions.cs
FlatButton.cs
FlatProgressBar.cs
LabelVertical.cs
NumericUpDownEx.cs
Handling
Management
Notification
Other
Utils
FormBrowser.Designer.cs
FormBrowser.cs
FormBrowser.resx
FormManager.cs
TweetDeckBrowser.cs
Data
Plugins
Properties
Resources
Updates
bld
lib
subprocess
video
.gitattributes
.gitignore
LICENSE.md
Program.cs
README.md
Reporter.cs
TweetDuck.csproj
TweetDuck.sln
TweetDuck.sln.DotSettings
packages.config
19 lines
498 B
C#
19 lines
498 B
C#
using System.ComponentModel;
|
|
using System.Windows.Forms;
|
|
|
|
namespace TweetDuck.Core.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;
|
|
}
|
|
}
|
|
}
|
|
}
|