ReadOnlyController Codeproject Published
Posted by Dan Rigsby on December 19th, 2007
I finally got around to publishing an article on codeproject. I chose the ReadOnlyController as its a fairly simple concept, is an excellent demonstration of how to use the IExtenderProvider, and would be a small enough project to get up on codeproject and learn the ropes. I have created projects on codeplex before. Codeplex is very nice, but is meant for projects. Single components like the ReadOnlyController are better suited for codeproject.
The ReadOnlyController is a Component so that can be dropped on a form in design mode and implements IExtenderProvider so that it can extend the properties on controls on the form. Controls that have either a Readonly or Enabled property can be extended to enable control from the ReadOnly Controller. See the screenshot below for how this might look in the designer:
Link:
http://www.codeproject.com/KB/cs/ReadOnlyController.aspx










