Click here to Skip to main content
15,896,063 members
Articles / Programming Languages / C#

Dynamic Application Configuration Solution

Rate me:
Please Sign up or sign in to vote.
4.43/5 (5 votes)
7 Aug 2007CPOL3 min read 36.6K   389   22  
Another simple way to work with complex updatable configuration in .NET applications
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
  <metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>225, 17</value>
  </metadata>
  <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="button1.Location" type="System.Drawing.Point, System.Drawing">
    <value>15, 116</value>
  </data>
  <data name="button1.Size" type="System.Drawing.Size, System.Drawing">
    <value>203, 39</value>
  </data>
  <assembly alias="mscorlib" name="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  <data name="button1.TabIndex" type="System.Int32, mscorlib">
    <value>0</value>
  </data>
  <data name="button1.Text" xml:space="preserve">
    <value>Generate</value>
  </data>
  <data name="&gt;&gt;button1.Name" xml:space="preserve">
    <value>button1</value>
  </data>
  <data name="&gt;&gt;button1.Type" xml:space="preserve">
    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;button1.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;button1.ZOrder" xml:space="preserve">
    <value>8</value>
  </data>
  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  <data name="button2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
    <value>Top, Right</value>
  </data>
  <data name="button2.Location" type="System.Drawing.Point, System.Drawing">
    <value>440, 12</value>
  </data>
  <data name="button2.Size" type="System.Drawing.Size, System.Drawing">
    <value>28, 22</value>
  </data>
  <data name="button2.TabIndex" type="System.Int32, mscorlib">
    <value>1</value>
  </data>
  <data name="button2.Text" xml:space="preserve">
    <value>...</value>
  </data>
  <data name="&gt;&gt;button2.Name" xml:space="preserve">
    <value>button2</value>
  </data>
  <data name="&gt;&gt;button2.Type" xml:space="preserve">
    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;button2.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;button2.ZOrder" xml:space="preserve">
    <value>7</value>
  </data>
  <data name="label1.AutoSize" type="System.Boolean, mscorlib">
    <value>True</value>
  </data>
  <data name="label1.Location" type="System.Drawing.Point, System.Drawing">
    <value>12, 14</value>
  </data>
  <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
    <value>118, 17</value>
  </data>
  <data name="label1.TabIndex" type="System.Int32, mscorlib">
    <value>3</value>
  </data>
  <data name="label1.Text" xml:space="preserve">
    <value>Configuration File</value>
  </data>
  <data name="&gt;&gt;label1.Name" xml:space="preserve">
    <value>label1</value>
  </data>
  <data name="&gt;&gt;label1.Type" xml:space="preserve">
    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;label1.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
    <value>5</value>
  </data>
  <data name="label2.AutoSize" type="System.Boolean, mscorlib">
    <value>True</value>
  </data>
  <data name="label2.Location" type="System.Drawing.Point, System.Drawing">
    <value>12, 48</value>
  </data>
  <data name="label2.Size" type="System.Drawing.Size, System.Drawing">
    <value>112, 17</value>
  </data>
  <data name="label2.TabIndex" type="System.Int32, mscorlib">
    <value>4</value>
  </data>
  <data name="label2.Text" xml:space="preserve">
    <value>Output Directory</value>
  </data>
  <data name="&gt;&gt;label2.Name" xml:space="preserve">
    <value>label2</value>
  </data>
  <data name="&gt;&gt;label2.Type" xml:space="preserve">
    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;label2.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
    <value>4</value>
  </data>
  <data name="button3.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
    <value>Top, Right</value>
  </data>
  <data name="button3.Location" type="System.Drawing.Point, System.Drawing">
    <value>440, 45</value>
  </data>
  <data name="button3.Size" type="System.Drawing.Size, System.Drawing">
    <value>28, 22</value>
  </data>
  <data name="button3.TabIndex" type="System.Int32, mscorlib">
    <value>5</value>
  </data>
  <data name="button3.Text" xml:space="preserve">
    <value>...</value>
  </data>
  <data name="&gt;&gt;button3.Name" xml:space="preserve">
    <value>button3</value>
  </data>
  <data name="&gt;&gt;button3.Type" xml:space="preserve">
    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;button3.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;button3.ZOrder" xml:space="preserve">
    <value>3</value>
  </data>
  <data name="label3.AutoSize" type="System.Boolean, mscorlib">
    <value>True</value>
  </data>
  <data name="label3.Location" type="System.Drawing.Point, System.Drawing">
    <value>12, 82</value>
  </data>
  <data name="label3.Size" type="System.Drawing.Size, System.Drawing">
    <value>83, 17</value>
  </data>
  <data name="label3.TabIndex" type="System.Int32, mscorlib">
    <value>7</value>
  </data>
  <data name="label3.Text" xml:space="preserve">
    <value>Namespace</value>
  </data>
  <data name="&gt;&gt;label3.Name" xml:space="preserve">
    <value>label3</value>
  </data>
  <data name="&gt;&gt;label3.Type" xml:space="preserve">
    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;label3.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
    <value>1</value>
  </data>
  <data name="txtNamespace.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
    <value>Top, Left, Right</value>
  </data>
  <data name="txtNamespace.Location" type="System.Drawing.Point, System.Drawing">
    <value>137, 79</value>
  </data>
  <data name="txtNamespace.Size" type="System.Drawing.Size, System.Drawing">
    <value>306, 22</value>
  </data>
  <data name="txtNamespace.TabIndex" type="System.Int32, mscorlib">
    <value>8</value>
  </data>
  <data name="&gt;&gt;txtNamespace.Name" xml:space="preserve">
    <value>txtNamespace</value>
  </data>
  <data name="&gt;&gt;txtNamespace.Type" xml:space="preserve">
    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;txtNamespace.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;txtNamespace.ZOrder" xml:space="preserve">
    <value>0</value>
  </data>
  <data name="txtDirectory.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
    <value>Top, Left, Right</value>
  </data>
  <data name="txtDirectory.Location" type="System.Drawing.Point, System.Drawing">
    <value>137, 45</value>
  </data>
  <data name="txtDirectory.Size" type="System.Drawing.Size, System.Drawing">
    <value>306, 22</value>
  </data>
  <data name="txtDirectory.TabIndex" type="System.Int32, mscorlib">
    <value>6</value>
  </data>
  <data name="&gt;&gt;txtDirectory.Name" xml:space="preserve">
    <value>txtDirectory</value>
  </data>
  <data name="&gt;&gt;txtDirectory.Type" xml:space="preserve">
    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;txtDirectory.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;txtDirectory.ZOrder" xml:space="preserve">
    <value>2</value>
  </data>
  <data name="txtFileName.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
    <value>Top, Left, Right</value>
  </data>
  <data name="txtFileName.Location" type="System.Drawing.Point, System.Drawing">
    <value>137, 11</value>
  </data>
  <data name="txtFileName.Size" type="System.Drawing.Size, System.Drawing">
    <value>306, 22</value>
  </data>
  <data name="txtFileName.TabIndex" type="System.Int32, mscorlib">
    <value>2</value>
  </data>
  <data name="&gt;&gt;txtFileName.Name" xml:space="preserve">
    <value>txtFileName</value>
  </data>
  <data name="&gt;&gt;txtFileName.Type" xml:space="preserve">
    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;txtFileName.Parent" xml:space="preserve">
    <value>$this</value>
  </data>
  <data name="&gt;&gt;txtFileName.ZOrder" xml:space="preserve">
    <value>6</value>
  </data>
  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <value>True</value>
  </metadata>
  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
    <value>8, 16</value>
  </data>
  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
    <value>479, 165</value>
  </data>
  <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        AAABAAIAICAAAAEAIACoEAAAJgAAABAQAAABACAAaAQAAM4QAAAoAAAAIAAAAEAAAAABACAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgWhW/2NJNf9jSTX/Y0k1/2NJ
        Nf9jSTX/Y0k1/2NJNf9jSTX/Y0k1/2NJNf9jSTX/Y0k1/2NJNf9jSTX/Y0k1/2NJNf9jSTX/Y0k1/2NJ
        Nf9jSTX/Y0k1/2NJNf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACEa1n/9NvO/97A
        sf/cvq7/27ys/9u7qv/Zuaj/2Lel/9i1o//Xs6H/1rGf/9awnP/UrZr/1KuX/9Kqlv/SqJP/0KaR/9Ck
        j//Po43/z6CL/82fif/Nnof/Y0k1/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIZu
        W//03NH/+u7p//ns5v/56uP/9+ff//jl3P/349r/9uDX//Xf1P/03dH/9NvO//PYy//z1sj/8tPF//HR
        wv/xz7//8M28/+/Luf/vybb/7se0/82gif9jSTX/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAiXBe//Xf0//68Oz/+e7o//nr5v/56eL/+Off//jl3P/249r/9eHW//Xe1P/13dH/9NrN//PY
        y//z1cj/8tPF//HRwf/wz77/7828/+/Kuf/vyLf/z6GL/2NJNf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAACLc2H/9uDW//vy7v/68ev/wa2f/8Gtn//ArJ3/vqqb/7ynmf+5pZb/tqOT/7Sf
        kf+xnI3/rpqK/6yWhv+olIP/ppGB/6SQf/+ijX3/8My7/+/Luf/Qoo3/Y0k1/wAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAI12ZP/24tj//PTy//zz7v/78Ov/+u3o//rs5f/46eH/+Obf//fk
        3P/24tn/9uHW//be0//13ND/9NnO//PYyv/z1cj/8dPE//HQwf/wzr//8My8/9Ckj/9jSTX/AAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAj3hn//fk2//89vT//PTx/8Gtn//BrZ//v6ye/76q
        nP+7p5n/uqWX/7eik/+0oJD/sZyN/66Ziv+rl4f/qZSE/6aSgf+kj37/oo59//HRwf/wzr7/0aaR/2NJ
        Nf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACSe2n/+Obe//359v/89/P/+/Tx//vy
        7v/68Ov/+u7o//ns5P/46eL/9+fe//fk2//249n/9eHW//Xe0//13ND/9NrN//PXyv/z1cf/8tLD//HR
        wf/SqZT/Y0k1/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJV9bP/46OH//vr5//34
        9v/BrZ//wa2f/8Csnf++qpv/vKiZ/7mllv+3opT/s5+Q/7Gdjf+umYr/q5aH/6mUg/+mkoH/pI9//6KN
        fP/y1cf/8tLE/9Orlv9jSTX/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAln9v//nq
        4//+/Pr//vr4//349f/89vP/+/Tx//zx7f/68Or/+u3n//nq5P/46eH/9+fe//bk2//24tj/9eDW//Xe
        0v/03ND/9NnN//PXyf/z1Mb/1KyZ/2NJNf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AACYgnH/+ezm///9/f/+/Pv/wa2f/8Gtn//Aq57/vqqc/7ynmf+5pZb/t6OT/7SfkP+xnI3/rpmK/6uX
        h/+olIT/ppGB/6SPfv+ijnz/9NrM//PXyf/Vrpv/Y0k1/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAJuEc//67uj///7+//79/f/++/r//fn4//349v/99vL/+/Tw//vy7f/67+r/+u3n//nq
        5P/46OD/9+bd//fj2//24tj/9t/W//Xd0v/028//89nM/9axnv9jSTX/AAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAnYd2//rx6/////////7+//79/P/++/r//fr4//349v/89vP/+/Tw//vy
        7f/67+r/+e3n//jq4//46OD/9+bd//fj2v/24tj/9uDV//Xd0//028//17Og/2NJNf8AAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACfiXn/+/Lu//////////////79//79/P/++/r/9u7q/8u3
        pf+GeVn/dWRM/4RhSP+LX0P/lnJb/9XCuP/25d3/+Obd//bj2v/24dj/9uDU//Xd0v/XtaP/Y0k1/wAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKKMe//79PH///////////////////7+//r3
        9f/Io5H/qn1Z/31+OP9Rdzr/c2xG/55qR/+nZkP/k2FE/8Wwo//359//+Obd//fj2v/24dj/9t/U/9m3
        pf9jSTX/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApI5+//z28////////////3x8
        fP//////4tDG/8yMav/qjWH/lIxB/0GYKv9Kgzj/W21F/65sRv+uZj//h2BH/+XWzf/46OD/eW9r//bj
        2v/24df/2rmn/2NJNf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmkYH//fj2/6en
        p/8gICD/Q0ND///////Lm3//7Zlv/9qQav+AjF3/VqZI/06lNf98gEP/pHBG/39iQv9cYzn/kYp2//nq
        4/9BPTv/Hx0c/6KVj//buqr/Y0k1/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKqU
        hP+hnp7/ODg4/7q6uv///////////9mggf/gnX3/kY5v/2usXP9vuk7/mqBG/9+IVP9/cU3/RG5C/zOA
        Hv9oaD3/+e3m//jq4v+1qaP/NjIw/4t3bf9jSTX/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAArJaH//n29f95eXn/FxcX/7m5uf//////zKCH/5WZeP9hpWP/e7Vg/6uqYP/nkmf/7oVe/3GC
        Rf8/kC7/Npce/2dtP//57un/taun/xYVFP92bmr/2Lqr/2NJNf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAACumYr//vz8//////+5ubn/ZmZm//////+um4T/aKxq/1HMZf92rG3/w5h1/+OV
        av/qh2L/mZo2/1GnLP9SnzL/bnlI//rx6/9kX13/taqn//np4v/dwbH/Y0k1/wAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAALGcjf///v3//////////////////////727ov9pwHn/Yt6I/3PO
        j/+QvYP/q51h/+mPX//ijFX/Yas1/2OdRP+Uonb/+/Lu//vw6//67uj/+evl/9/Cs/9jSTX/AAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAs56P////////////////////////////6ezj/37G
        kP+X5qT/tPK7/8j2yf+02Jv/rJxl/+aPUv+YnT//fJVX/93ezf/89PH/+/Lu//vw6//67uj/38S2/2NJ
        Nf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC1oJL/////////////////////////
        ///5+vf/sMmm/63No//b7Mn/xtev/5njnf9fs3L/l49Q/72RaP/b0cD//Pj1//z29P/89fH/+/Pt//rw
        6//gx7j/Y0k1/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALijlP//////////////
        //////////////7+/v/x8er/1NXB/8bMr/+rs5D/kLSI/3aufP+VnHT/5dfN//35+f/++vn//fj2/8m0
        qf+9pZf/spmJ/6SKeP9jSTX/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAuqaY////
        //////////////////////////////////////////////////////////////////////7//v38//78
        +/+eh3b/Y0k1/2NJNf9jSTX/Y0k1/2NJNf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAC8qJr/////////////////////////////////////////////////////////////////////////
        //////////38/6CJef/Vxb3/x7Gl/7mhkv9sUj7/Y0k1ZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAL6qnP//////////////////////////////////////////////////////////////
        //////////////////////7/oox8/+Pa0//Vxbz/eWBM/2xSPmYAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAwK2f////////////////////////////////////////////////////
        //////////////////////////////////+ljn7/8+/t/4hwXf95YExmAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCr6H////////////////////////9/P/++/v//fn4//34
        9f/89fL/+/Pv//vw6//67ej/+evk//jp4v/3593/9+Tb/6eRgv+Wf27/iHBdZgAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMWxo//Dr6H/wq6g/8Csn/+/q5z/vamb/7yn
        mv+7ppf/uKSV/7eilP+2oZL/s5+Q/7Kdj/+wm43/rpqL/62YiP+rlof/qZSE/5Z/bmYAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/////wAAAf8AAAH/AAAB/wAAAf8AAAH/AA
        AB/wAAAf8AAAH/AAAB/wAAAf8AAAH/AAAB/wAAAf8AAAH/AAAB/wAAAf8AAAH/AAAB/wAAAf8AAAH/AA
        AB/wAAAf8AAAH/AAAB/wAAAf8AAAH/AAAD/wAAB/8AAA//AAAf//////KAAAABAAAAAgAAAAAQAgAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC3opP/Y0k1/2NJNf9jSTX/Y0k1/2NJNf9jSTX/Y0k1/2NJ
        Nf9jSTX/Y0k1/2NJNf9jSTX/Y0k1/wAAAAAAAAAAt6KT//fl3P/dz8j/2MnB/9PCuf/PvLL/yraq/8aw
        pP/Cq57/vqaY/7qgkv+0moz/sJWG/2NJNf8AAAAAAAAAALeik//56eL/+eni//np4v/45t3/9+LY//Xe
        0//0287/89fK//LUxf/x0MH/8M28/7acjv9jSTX/AAAAAAAAAAC3opP/+e7o//nu6P/57uj/6o9g/+qE
        T//meD//3282/9JmMP/BXSr/8tXG//HRwv+8o5X/Y0k1/wAAAAAAAAAAt6KT//vy7f/78u3/+/Lt//ru
        6f/56uT/+Ofg//fk2v/24dX/9dzR//TYzP/z1cf/wqqe/2NJNf8AAAAAAAAAALeik//89vP//Pbz//z2
        8//qj2D/6oRP/+Z4P//fbzb/0mYw/8FdKv/03tP/89rN/8expf9jSTX/AAAAAAAAAAC6pZb//fn2//35
        9v/9+fb//Pbz//zz7//68Ov/+u3n//jp4f/35d3/9uLY//Xf0//MuK7/Y0k1/wAAAAAAAAAAvqma//78
        +//+/Pv/pU8l//35+P+ruJH/VHgt/4pwSP/OsZ7/+Ork/6VPJf/24tr/0sC4/2NJNf8AAAAAAAAAAMOu
        nv/+/v7/pU8l//7+/v/+/fz/foI7/5CTQv9wdzH/dqdn//ru6f/56+X/pU8l/9nJwf9jSTX/AAAAAAAA
        AADIsqP///////////+lTyX//////2O2Yv/DyJ3/opE6/5zGiv/78u7/pU8l//ns5v/f0sz/Y0k1/wAA
        AAAAAAAAzLan///////////////////////W8tL/mcqL/6yvfP/v8eb//Pbz//v07//q4t3/5dvV/2RK
        Nv8AAAAAAAAAANG7q////////////////////////////////////v3//vv7//35+P+3opP/ZEo2/2RK
        Nv9kSjb/AAAAAAAAAADVv6/////////////////////////////////////////+/v/+/Pv/uaSV/9TF
        uv9jSTX/oot6qQAAAAAAAAAA2MKy///////////////////////////////////////////////+/8Cr
        nP9jSTX/oot6qAAAAAAAAAAAAAAAANjCsv/YwrL/2MKy/9jCsv/YwrL/2MKy/9jCsv/YwrL/1L6u/8+5
        qf/Js6T/ybOkiwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQAAgAEAAIABAACAAQAAgAFp/4AB3v+AAfb/gAHz/4AB
        8f+AAe7/gAHr/4AB6P+AAeT/gAPi/4AH3v///9v/
</value>
  </data>
  <data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing">
    <value>1000, 205</value>
  </data>
  <data name="$this.Text" xml:space="preserve">
    <value>Configuration Builder</value>
  </data>
  <data name="&gt;&gt;folderBrowserDialog1.Name" xml:space="preserve">
    <value>folderBrowserDialog1</value>
  </data>
  <data name="&gt;&gt;folderBrowserDialog1.Type" xml:space="preserve">
    <value>System.Windows.Forms.FolderBrowserDialog, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;openFileDialog1.Name" xml:space="preserve">
    <value>openFileDialog1</value>
  </data>
  <data name="&gt;&gt;openFileDialog1.Type" xml:space="preserve">
    <value>System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
  <data name="&gt;&gt;$this.Name" xml:space="preserve">
    <value>Form1</value>
  </data>
  <data name="&gt;&gt;$this.Type" xml:space="preserve">
    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </data>
</root>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Israel Israel
Leon works as Chief Architect at SRL Group. He leads architectural design and development of various enterprise level projects.
You can meet him on user groups, conferences and forums dedicated to Architecture, ASP.NET, Team System etc. or join him for the next white water rafting adventure

Comments and Discussions