diff options
| author | MichaelTheShifter <[email protected]> | 2016-07-20 13:52:12 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-07-20 13:52:12 -0400 |
| commit | b52090021ff0ae61db652e8a486cbff6732f5ec5 (patch) | |
| tree | d6b3fa622525e293f715c963e46cb91465b4a064 /source/WindowsFormsApplication1/Controls/ProgressBarEX.cs | |
| parent | 64aae03a9b08a10ace6366008093e95ab5e99945 (diff) | |
| download | shiftos-c--b52090021ff0ae61db652e8a486cbff6732f5ec5.tar.gz shiftos-c--b52090021ff0ae61db652e8a486cbff6732f5ec5.tar.bz2 shiftos-c--b52090021ff0ae61db652e8a486cbff6732f5ec5.zip | |
Move ShiftUI designer to ShiftOS and add
prober for ShiftOS to allow ShiftUI designer to design ShiftOS forms.
Diffstat (limited to 'source/WindowsFormsApplication1/Controls/ProgressBarEX.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Controls/ProgressBarEX.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/WindowsFormsApplication1/Controls/ProgressBarEX.cs b/source/WindowsFormsApplication1/Controls/ProgressBarEX.cs index d89969e..8febdcd 100644 --- a/source/WindowsFormsApplication1/Controls/ProgressBarEX.cs +++ b/source/WindowsFormsApplication1/Controls/ProgressBarEX.cs @@ -102,13 +102,7 @@ namespace ShiftOS get { return _MaxValue; } set { - if (value > this.MinValue) - { - _MaxValue = value; - } - else { - throw new ArgumentOutOfRangeException("The maximum value must be more than the minimum value."); - } + _MaxValue = value; } } |
