⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.designer.cs

📁 windows mobile上的XML序列化和二进制序列化。
💻 CS
字号:
namespace SerializationMobile
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        private System.Windows.Forms.MainMenu mainMenu1;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.mainMenu1 = new System.Windows.Forms.MainMenu();
            this.btnXmlSer = new System.Windows.Forms.Button();
            this.btnXmlDeser = new System.Windows.Forms.Button();
            this.btnBinarySer = new System.Windows.Forms.Button();
            this.btnBinaryDeser = new System.Windows.Forms.Button();
            this.txtResult = new System.Windows.Forms.TextBox();
            this.checkBox1 = new System.Windows.Forms.CheckBox();
            this.button1 = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // btnXmlSer
            // 
            this.btnXmlSer.Location = new System.Drawing.Point(0, 0);
            this.btnXmlSer.Name = "btnXmlSer";
            this.btnXmlSer.Size = new System.Drawing.Size(120, 25);
            this.btnXmlSer.TabIndex = 0;
            this.btnXmlSer.Text = "XML序列化";
            this.btnXmlSer.Click += new System.EventHandler(this.btnXmlSer_Click);
            // 
            // btnXmlDeser
            // 
            this.btnXmlDeser.Location = new System.Drawing.Point(0, 25);
            this.btnXmlDeser.Name = "btnXmlDeser";
            this.btnXmlDeser.Size = new System.Drawing.Size(120, 25);
            this.btnXmlDeser.TabIndex = 1;
            this.btnXmlDeser.Text = "XML反序列化";
            this.btnXmlDeser.Click += new System.EventHandler(this.btnXmlDeser_Click);
            // 
            // btnBinarySer
            // 
            this.btnBinarySer.Location = new System.Drawing.Point(120, 0);
            this.btnBinarySer.Name = "btnBinarySer";
            this.btnBinarySer.Size = new System.Drawing.Size(120, 25);
            this.btnBinarySer.TabIndex = 2;
            this.btnBinarySer.Text = "二进制序列化";
            this.btnBinarySer.Click += new System.EventHandler(this.btnBinarySer_Click);
            // 
            // btnBinaryDeser
            // 
            this.btnBinaryDeser.Location = new System.Drawing.Point(120, 25);
            this.btnBinaryDeser.Name = "btnBinaryDeser";
            this.btnBinaryDeser.Size = new System.Drawing.Size(120, 25);
            this.btnBinaryDeser.TabIndex = 3;
            this.btnBinaryDeser.Text = "二进制反序列化";
            this.btnBinaryDeser.Click += new System.EventHandler(this.btnBinaryDeser_Click);
            // 
            // txtResult
            // 
            this.txtResult.Location = new System.Drawing.Point(0, 82);
            this.txtResult.Multiline = true;
            this.txtResult.Name = "txtResult";
            this.txtResult.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txtResult.Size = new System.Drawing.Size(240, 186);
            this.txtResult.TabIndex = 4;
            // 
            // checkBox1
            // 
            this.checkBox1.Location = new System.Drawing.Point(3, 56);
            this.checkBox1.Name = "checkBox1";
            this.checkBox1.Size = new System.Drawing.Size(100, 20);
            this.checkBox1.TabIndex = 5;
            this.checkBox1.Text = "启用流压缩";
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(126, 56);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(111, 20);
            this.button1.TabIndex = 6;
            this.button1.Text = "MD5";
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.AutoScroll = true;
            this.ClientSize = new System.Drawing.Size(240, 268);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.checkBox1);
            this.Controls.Add(this.btnBinaryDeser);
            this.Controls.Add(this.btnBinarySer);
            this.Controls.Add(this.btnXmlDeser);
            this.Controls.Add(this.btnXmlSer);
            this.Controls.Add(this.txtResult);
            this.Menu = this.mainMenu1;
            this.MinimizeBox = false;
            this.Name = "Form1";
            this.Text = "序列化示例";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Button btnXmlSer;
        private System.Windows.Forms.Button btnXmlDeser;
        private System.Windows.Forms.Button btnBinarySer;
        private System.Windows.Forms.Button btnBinaryDeser;
        private System.Windows.Forms.TextBox txtResult;
        private System.Windows.Forms.CheckBox checkBox1;
        private System.Windows.Forms.Button button1;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -