300 Views
Trying to achieve something similar to: button1.DataBindings.Add("Enabled", _model, "IsTrue"); button2.DataBindings.Add("Enabled", _model, "!IsTrue"); where IsTrue is a boolean property of my _model variable, of course the second line doesn't work as binding only supports binding to properties....
0 comments