Click here to Skip to main content
15,891,777 members
Articles / Desktop Programming / Windows Forms

Side by Side SQL Comparer in C#

Rate me:
Please Sign up or sign in to vote.
4.79/5 (16 votes)
19 Jun 2008CPOL3 min read 53.5K   1K   55  
A side by side text comparison control with T-SQL syntax highlighting.
namespace SideBySideTextBox
{
    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()
        {
            this.sideBySideRichTextBox1 = new SideBySideTextBox.SideBySideRichTextBox();
            this.SuspendLayout();
            // 
            // sideBySideRichTextBox1
            // 
            this.sideBySideRichTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.sideBySideRichTextBox1.LeftText = "";
            this.sideBySideRichTextBox1.Location = new System.Drawing.Point(0, 0);
            this.sideBySideRichTextBox1.Name = "sideBySideRichTextBox1";
            this.sideBySideRichTextBox1.RightText = "";
            this.sideBySideRichTextBox1.Size = new System.Drawing.Size(846, 478);
            this.sideBySideRichTextBox1.TabIndex = 0;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(846, 478);
            this.Controls.Add(this.sideBySideRichTextBox1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.ResumeLayout(false);

        }

        #endregion

        private SideBySideRichTextBox sideBySideRichTextBox1;
    }
}

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
Architect HTEC Ltd / Atlantis Interactive
United Kingdom United Kingdom
I started using computers when I was 6. It was all downhill from there!

Comments and Discussions