Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / XML

XML Serializer Library

Rate me:
Please Sign up or sign in to vote.
4.92/5 (12 votes)
10 Dec 2007CPOL4 min read 60.3K   1.8K   66  
A library for serializing any class in XML format.
namespace XmlSerializerTester
{
    partial class MainForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this._mainSplitter = new System.Windows.Forms.SplitContainer();
            this._leftSplitter = new System.Windows.Forms.SplitContainer();
            this._leftLeftSplitter = new System.Windows.Forms.SplitContainer();
            this._listAssembly = new System.Windows.Forms.ListBox();
            this._txtHelp = new System.Windows.Forms.ListBox();
            this._propertyGrid = new System.Windows.Forms.PropertyGrid();
            this._browser = new System.Windows.Forms.WebBrowser();
            this._menu = new System.Windows.Forms.MenuStrip();
            this._menuFile = new System.Windows.Forms.ToolStripMenuItem();
            this._fileLoadXml = new System.Windows.Forms.ToolStripMenuItem();
            this._fileSaveXml = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.loadAssemblyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this._saveDlg = new System.Windows.Forms.SaveFileDialog();
            this._openDlg = new System.Windows.Forms.OpenFileDialog();
            this._mainSplitter.Panel1.SuspendLayout();
            this._mainSplitter.Panel2.SuspendLayout();
            this._mainSplitter.SuspendLayout();
            this._leftSplitter.Panel1.SuspendLayout();
            this._leftSplitter.Panel2.SuspendLayout();
            this._leftSplitter.SuspendLayout();
            this._leftLeftSplitter.Panel1.SuspendLayout();
            this._leftLeftSplitter.Panel2.SuspendLayout();
            this._leftLeftSplitter.SuspendLayout();
            this._menu.SuspendLayout();
            this.SuspendLayout();
            // 
            // _mainSplitter
            // 
            this._mainSplitter.Dock = System.Windows.Forms.DockStyle.Fill;
            this._mainSplitter.Location = new System.Drawing.Point(0, 24);
            this._mainSplitter.Name = "_mainSplitter";
            // 
            // _mainSplitter.Panel1
            // 
            this._mainSplitter.Panel1.Controls.Add(this._leftSplitter);
            // 
            // _mainSplitter.Panel2
            // 
            this._mainSplitter.Panel2.Controls.Add(this._browser);
            this._mainSplitter.Size = new System.Drawing.Size(537, 433);
            this._mainSplitter.SplitterDistance = 270;
            this._mainSplitter.TabIndex = 0;
            // 
            // _leftSplitter
            // 
            this._leftSplitter.Dock = System.Windows.Forms.DockStyle.Fill;
            this._leftSplitter.Location = new System.Drawing.Point(0, 0);
            this._leftSplitter.Name = "_leftSplitter";
            // 
            // _leftSplitter.Panel1
            // 
            this._leftSplitter.Panel1.Controls.Add(this._leftLeftSplitter);
            // 
            // _leftSplitter.Panel2
            // 
            this._leftSplitter.Panel2.Controls.Add(this._propertyGrid);
            this._leftSplitter.Size = new System.Drawing.Size(270, 433);
            this._leftSplitter.SplitterDistance = 141;
            this._leftSplitter.TabIndex = 0;
            // 
            // _leftLeftSplitter
            // 
            this._leftLeftSplitter.Dock = System.Windows.Forms.DockStyle.Fill;
            this._leftLeftSplitter.Location = new System.Drawing.Point(0, 0);
            this._leftLeftSplitter.Name = "_leftLeftSplitter";
            this._leftLeftSplitter.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // _leftLeftSplitter.Panel1
            // 
            this._leftLeftSplitter.Panel1.Controls.Add(this._listAssembly);
            // 
            // _leftLeftSplitter.Panel2
            // 
            this._leftLeftSplitter.Panel2.Controls.Add(this._txtHelp);
            this._leftLeftSplitter.Size = new System.Drawing.Size(141, 433);
            this._leftLeftSplitter.SplitterDistance = 216;
            this._leftLeftSplitter.TabIndex = 1;
            // 
            // _listAssembly
            // 
            this._listAssembly.Dock = System.Windows.Forms.DockStyle.Fill;
            this._listAssembly.FormattingEnabled = true;
            this._listAssembly.Location = new System.Drawing.Point(0, 0);
            this._listAssembly.Name = "_listAssembly";
            this._listAssembly.Size = new System.Drawing.Size(141, 212);
            this._listAssembly.TabIndex = 0;
            this._listAssembly.SelectedIndexChanged += new System.EventHandler(this._listAssembly_SelectedIndexChanged);
            // 
            // _txtHelp
            // 
            this._txtHelp.Dock = System.Windows.Forms.DockStyle.Fill;
            this._txtHelp.FormattingEnabled = true;
            this._txtHelp.Location = new System.Drawing.Point(0, 0);
            this._txtHelp.Name = "_txtHelp";
            this._txtHelp.Size = new System.Drawing.Size(141, 212);
            this._txtHelp.TabIndex = 0;
            // 
            // _propertyGrid
            // 
            this._propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
            this._propertyGrid.Location = new System.Drawing.Point(0, 0);
            this._propertyGrid.Name = "_propertyGrid";
            this._propertyGrid.Size = new System.Drawing.Size(125, 433);
            this._propertyGrid.TabIndex = 0;
            // 
            // _browser
            // 
            this._browser.Dock = System.Windows.Forms.DockStyle.Fill;
            this._browser.Location = new System.Drawing.Point(0, 0);
            this._browser.MinimumSize = new System.Drawing.Size(20, 20);
            this._browser.Name = "_browser";
            this._browser.Size = new System.Drawing.Size(263, 433);
            this._browser.TabIndex = 0;
            // 
            // _menu
            // 
            this._menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._menuFile});
            this._menu.Location = new System.Drawing.Point(0, 0);
            this._menu.Name = "_menu";
            this._menu.Size = new System.Drawing.Size(537, 24);
            this._menu.TabIndex = 1;
            this._menu.Text = "menuStrip1";
            // 
            // _menuFile
            // 
            this._menuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this._fileLoadXml,
            this._fileSaveXml,
            this.toolStripSeparator1,
            this.loadAssemblyToolStripMenuItem});
            this._menuFile.Name = "_menuFile";
            this._menuFile.Size = new System.Drawing.Size(35, 20);
            this._menuFile.Text = "File";
            // 
            // _fileLoadXml
            // 
            this._fileLoadXml.Name = "_fileLoadXml";
            this._fileLoadXml.Size = new System.Drawing.Size(157, 22);
            this._fileLoadXml.Text = "Load xml...";
            this._fileLoadXml.Click += new System.EventHandler(this._fileLoadXml_Click);
            // 
            // _fileSaveXml
            // 
            this._fileSaveXml.Name = "_fileSaveXml";
            this._fileSaveXml.Size = new System.Drawing.Size(157, 22);
            this._fileSaveXml.Text = "Save xml...";
            this._fileSaveXml.Click += new System.EventHandler(this._fileSaveXml_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(154, 6);
            this.toolStripSeparator1.Visible = false;
            // 
            // loadAssemblyToolStripMenuItem
            // 
            this.loadAssemblyToolStripMenuItem.Name = "loadAssemblyToolStripMenuItem";
            this.loadAssemblyToolStripMenuItem.Size = new System.Drawing.Size(157, 22);
            this.loadAssemblyToolStripMenuItem.Text = "Load Assembly...";
            this.loadAssemblyToolStripMenuItem.Visible = false;
            // 
            // _openDlg
            // 
            this._openDlg.Filter = "assembly files (.dll)|*.dll|exe files (.exe)|*.exe";
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(537, 457);
            this.Controls.Add(this._mainSplitter);
            this.Controls.Add(this._menu);
            this.MainMenuStrip = this._menu;
            this.Name = "MainForm";
            this.Text = "XmlSerializer Tester";
            this._mainSplitter.Panel1.ResumeLayout(false);
            this._mainSplitter.Panel2.ResumeLayout(false);
            this._mainSplitter.ResumeLayout(false);
            this._leftSplitter.Panel1.ResumeLayout(false);
            this._leftSplitter.Panel2.ResumeLayout(false);
            this._leftSplitter.ResumeLayout(false);
            this._leftLeftSplitter.Panel1.ResumeLayout(false);
            this._leftLeftSplitter.Panel2.ResumeLayout(false);
            this._leftLeftSplitter.ResumeLayout(false);
            this._menu.ResumeLayout(false);
            this._menu.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.SplitContainer _mainSplitter;
        private System.Windows.Forms.SplitContainer _leftSplitter;
        private System.Windows.Forms.ListBox _listAssembly;
        private System.Windows.Forms.PropertyGrid _propertyGrid;
        private System.Windows.Forms.WebBrowser _browser;
        private System.Windows.Forms.MenuStrip _menu;
        private System.Windows.Forms.ToolStripMenuItem _menuFile;
        private System.Windows.Forms.ToolStripMenuItem _fileLoadXml;
        private System.Windows.Forms.ToolStripMenuItem _fileSaveXml;
        private System.Windows.Forms.SplitContainer _leftLeftSplitter;
        private System.Windows.Forms.SaveFileDialog _saveDlg;
        private System.Windows.Forms.OpenFileDialog _openDlg;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripMenuItem loadAssemblyToolStripMenuItem;
        private System.Windows.Forms.ListBox _txtHelp;
    }
}

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
Software Developer
Italy Italy
I am a biomedical engineer. I work in Genoa as software developer. I developed MFC ActiveX controls for industrial automation for 2 years and packages for Visual Studio 2005 for 1 year. Currently I'm working in .NET 3.5 in biomedical area.

Comments and Discussions