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

  • Moving Forward, Into the Cold

    The fellow from the granite company came by today and took measurements for the new countertops. He used a laser measuring device that was…

  • Moving the Pile

    Our contractor came by today and moved the base cabinet to the correct position on the wall. The cabinet crew will come and move the two upper…

  • Design on the Fly

    The great thing about us and getting this kitchen done is that we are able to design on the fly. Our contractor came by, looked quickly at the…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded