Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
view WarFoundry.exe.log4net @ 98:c7afc7824f50
Fixes #218: "Amount too high" warning can result in negative items
* Restrict min/max values to a minimum of "0" to stop negatives
* Ignore all events from widgets in EquimentAmountControl until we've finished setting it up for the new equipment item
* Fire value modified events if the value has been limited
* Remove disabling of OK button so that "Edit" dialog enables OK if amount has been limited
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Nov 2009 15:33:00 +0000 |
parents | 04ca17389f13 |
children | d97de6f980b4 |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" ?> <log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> </layout> </appender> <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="logs/WarFoundry.log" /> <appendToFile value="false" /> <rollingStyle value="Size" /> <maxSizeRollBackups value="-1" /> <maximumFileSize value="100MB" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="ConsoleAppender" /> <appender-ref ref="RollingLogFileAppender" /> </root> </log4net>