Hello,

   Microsoft has published an article by Joe Stegman
(Windows Forms Team Member) titled "Using Windows
Forms Markup Language (WFML)" at the Official Windows
Forms Propaganda site, that is, windowsforms.net

   Joe writes:

   Windows Forms Markup Language (WFML) provides an
extensible mechanism to add a markup model on top of
an existing .NET Framework object model. WFMLs parsing
rules can be summarized as “XML elements map to .NET
Framework types and XML attributes map to Type
properties (or events)”. This sample includes a WFML
parser that dynamically generates an object instance
tree from an XML file in WFML format. WFML includes
declarative constructs for the following:

   * XML Namespace to .NET Framework Namespace mapping
   * Object Instancing
   * Object Identification and References
   * Property Sets
   * Instance and Static method invocation
   * Event Wire-Ups
   * Assembly References  


   Now if you wonder what Windows Forms Markup looks
like in action. Here's a sample:

<wfml
xmlns="http://www.microsoft.com/2003/WindowsForms";
      xmlns:wfml="http://www.microsoft.com/2003/WFML";>
      
  <Form wfml:root="true" Text="Basic Sample"
Size="300,200">
    <Label Text="Hello World" AutoSize="True"
Location="10, 20"/>
    <method.Show/>
  </Form>

</wfml>          

   Full story @
http://windowsforms.net/articles/wfml.aspx

   Let us know what you think about Microsoft's latest
initiative and post your comments to xul-talk.

   - Gerald


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xul-announce mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xul-announce

Reply via email to