Bill Roper (billroper) wrote,
Bill Roper

No, The Light Is Not a Train (I Hope)

It has taken me far too long to code my first dialog in C# Windows Forms. Part of this is due to the fact that there were very few tools available in our projects on the C# side of the world, despite the fact that this particular coding initiative has been going on for well over a year. Part of it was just coming down the learning curve in C# Windows Forms.

However, I now have a large number of simple functions for reading and writing XML that have the advantage of centralizing the read/write functionality so that it always works in the same way; a number of classes that know how to read and write their XML representations so that they can be sent across the wire from the C# to the C++ side of the world and vice versa; and a control derived from the C# ErrorProvider that provides accessible error handling if the user requests it in user preferences. (The preference isn't coded yet, but the hook is there. Someone else is working on the preferences at the moment.)

I have spent the last couple of days making sure that the XML is correctly aligned everywhere so that member values are written as member values, attribute values are written as attribute values, and optional members are treated as optional instead of throwing an exception. I am now very close to getting this all to work.

I hope.
Tags: microsoft, musings, work

  • Progress

    I love it when a plan comes together. In this case, I have finally cobbled together enough pieces for my POC project at work that it will display…

  • Throw the Squid!

    Yesterday, there was some time after dinner and before sunset, so the temperature being pleasant for a change, Gretchen and I wandered out to the…

  • I'm Going Back To Work, I'm Going Back To Work

    I spent more time today working over designs than coding, but that's ok. Getting the design right makes the coding easier. And more likely to work...

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded