* Binding.cs: Don't avoid the Format event if the control
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Sat, 26 Jan 2008 20:36:25 +0000 (20:36 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Sat, 26 Jan 2008 20:36:25 +0000 (20:36 -0000)
commitdcd04d0b22954180fcc1c2ce084aae85c409326b
tree6b936a59fbb021ceac52ece37748d29659121ef3
parente5619e70738da9347649070381c0ee68f445cd03
* Binding.cs: Don't avoid the Format event if the control
property type is object. Also, if the value retrieved by
the data source is null _and_ the control proeprty type
is object, return Convert.DBNull (match .Net).
Fixes part of #324286.

2008-01-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=94021
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Binding.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog