Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Adler-32 Checksum Calculation

, 29 Oct 2007 CPOL
Presents a C# implementation of Adler-32 checksum calculation for use in the .NET Framework
checkadler_doc.zip
adler32.chm
checkadler_src.zip
checkadler_test.zip
CheckAdler
CheckAdler
CheckAdler.suo
bin
Release
CheckAdler.exe
CheckAdler.vshost.exe
ClassDiagram1.cd
doc
adler32.chm
Properties
Settings.settings
namespace CheckAdler
{
    partial class Form1
    {
        /// <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()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.textPath = new System.Windows.Forms.TextBox();
            this.buttonBrowse = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.buttonCalculate = new System.Windows.Forms.Button();
            this.textVal = new System.Windows.Forms.TextBox();
            this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
            this.SuspendLayout();
            // 
            // textPath
            // 
            this.textPath.Location = new System.Drawing.Point(78, 12);
            this.textPath.Name = "textPath";
            this.textPath.Size = new System.Drawing.Size(225, 20);
            this.textPath.TabIndex = 0;
            // 
            // buttonBrowse
            // 
            this.buttonBrowse.Image = ((System.Drawing.Image)(resources.GetObject("buttonBrowse.Image")));
            this.buttonBrowse.Location = new System.Drawing.Point(319, 11);
            this.buttonBrowse.Name = "buttonBrowse";
            this.buttonBrowse.Size = new System.Drawing.Size(23, 22);
            this.buttonBrowse.TabIndex = 1;
            this.buttonBrowse.UseVisualStyleBackColor = true;
            this.buttonBrowse.Click += new System.EventHandler(this.buttonBrowse_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 16);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(29, 13);
            this.label1.TabIndex = 2;
            this.label1.Text = "Path";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 45);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(57, 13);
            this.label2.TabIndex = 3;
            this.label2.Text = "Checksum";
            // 
            // buttonCalculate
            // 
            this.buttonCalculate.Image = ((System.Drawing.Image)(resources.GetObject("buttonCalculate.Image")));
            this.buttonCalculate.Location = new System.Drawing.Point(319, 40);
            this.buttonCalculate.Name = "buttonCalculate";
            this.buttonCalculate.Size = new System.Drawing.Size(23, 22);
            this.buttonCalculate.TabIndex = 4;
            this.buttonCalculate.UseVisualStyleBackColor = true;
            this.buttonCalculate.Click += new System.EventHandler(this.buttonCalculate_Click);
            // 
            // textVal
            // 
            this.textVal.Enabled = false;
            this.textVal.Location = new System.Drawing.Point(78, 42);
            this.textVal.Name = "textVal";
            this.textVal.Size = new System.Drawing.Size(225, 20);
            this.textVal.TabIndex = 5;
            // 
            // openFileDialog
            // 
            this.openFileDialog.Filter = "\"Sources (*.cs;*c;*.cpp;*.hpp;*.h)|*.cs;*c;*.cpp;*.hpp;*.h|Text files (*.txt)|*.t" +
                "xt|All files (*.*)|*.*\" ";
            this.openFileDialog.Title = "Open File";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(352, 73);
            this.Controls.Add(this.textVal);
            this.Controls.Add(this.buttonCalculate);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.buttonBrowse);
            this.Controls.Add(this.textPath);
            this.MaximizeBox = false;
            this.Name = "Form1";
            this.Text = "Adler-32 Checksum";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.TextBox textPath;
        private System.Windows.Forms.Button buttonBrowse;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Button buttonCalculate;
        private System.Windows.Forms.TextBox textVal;
        private System.Windows.Forms.OpenFileDialog openFileDialog;
    }
}

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)

Share

About the Author

jukov
Software Developer (Senior) Elmo Motion Control
Israel Israel
Software developer since 1992

| Advertise | Privacy | Mobile
Web01 | 2.8.141022.1 | Last Updated 29 Oct 2007
Article Copyright 2007 by jukov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid