none
My Form Designer : How to Use BasicDesignerLoader and CodeDomDesignerLoader at the same time??? RRS feed

  • 问题

  • Hello,

    I developped my own designer.

    I overrided both the BasicDesignerLoader and CodeDomDesignerLoader separately . I can serialize in xml and deserialize my work when I used "hostSurface.BeginLoad(BasicDesignerLoader)"  and I can compile and run the form created in my designer when I used "hostSurface.BeginLoad(CodeDomDesignerLoader)". However, I would like to open and save my form in xml .and I can get the CSharp code of my form at the same time.

    In the sample http://msdn.microsoft.com/fr-fr/magazine/cc163634(en-us).aspx it uses only basicDesignerLoader or only CodeDomDesignerLoader but never both.

    How can I do that?

    Thank you
    2012年8月24日 4:51

答案