Another patch released for curves, patterns and demands
Vigorous development continues with WaterSums 1.1 ready for the release of 1.1.1. However, a few bugs have been reported with the current release and some have been discovered internally, so a patch has been issued to fix them. The fixes mostly relate to improvements in editing of patterns, curves and junction demands. Details of all fixes are given in the release notes included with the release. What seems to be a bug in the data grid view of the .Net Framework 2.0 makes it difficult to programatically change the number of rows in the grid safely when scrollbars are required. The patch version is reported as 1.1.0.10 in the About box.
If you care more about the technical side of programming, there are more details below....
The current patch is a compromise which fixes all known crashing cases but leaves some usability issues when the number of rows in a grid is changed programatically during the loading of a pattern, curve or list of junction demands. In the past, shortening the list could generate an unhandled exception when scrolling to the bottom of the grid. The solution adopted avoids the exceptions (which cannot be caught), but leaves the scrollbars disabled of the list length is changed. To enable the scrollbars, the panel must be physically resized vertically by the user! This resets something in the grid so that the problem is resolved. Strange behaviour, but it works.
