Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

float property of custom user control are not handled correctly if negative

$
0
0

I have an UserControl (WinForms) that has a MinValue and MaxValue properties. Seems that both properties are setted to zero only switching from Source/Design.

I have a test case : www.stefanofraccaro.org/sd_bug.zip

How to reproduce :
Set MinValue to -80
Set MaxValue to -20
Switch to Source Code
Switch to Design Mode
MinValue is 0 (expected -80)
MaxValue is 0 (expected -20)

SharpDevelop Version : 5.1.0.4936-Beta-3ea20cfa
.NET Version : 4.5.50938
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Italian (Italy) (it-IT)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 89828kb
GC Heap Memory : 10793kb

The same project works correctly with SD 4.4

This post is same as https://github.com/icsharpcode/SharpDevelop/issues/636
I don't know what's the right place to post


Viewing all articles
Browse latest Browse all 1764

Trending Articles