Click here to Skip to main content
15,885,366 members
Articles / Database Development / SQL Server

Strongly Typed DataSet Generator

Rate me:
Please Sign up or sign in to vote.
4.89/5 (10 votes)
2 Dec 2009CPOL4 min read 64.6K   1.3K   54  
Generate strongly typed datasets
namespace CreateStronglyTypedDataSet
{
    partial class TablesViewerForm
    {
        /// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TablesViewerForm));
            this.panel1 = new System.Windows.Forms.Panel();
            this.viewerDG = new System.Windows.Forms.DataGridView();
            this.closeBtn = new System.Windows.Forms.Button();
            this.selectGB = new System.Windows.Forms.GroupBox();
            this.selectAllRB = new System.Windows.Forms.RadioButton();
            this.selectNoneRB = new System.Windows.Forms.RadioButton();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.viewerDG)).BeginInit();
            this.selectGB.SuspendLayout();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.viewerDG);
            this.panel1.Location = new System.Drawing.Point(0, 1);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(536, 280);
            this.panel1.TabIndex = 0;
            // 
            // viewerDG
            // 
            this.viewerDG.AllowUserToAddRows = false;
            this.viewerDG.AllowUserToDeleteRows = false;
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
            this.viewerDG.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            this.viewerDG.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.viewerDG.Dock = System.Windows.Forms.DockStyle.Fill;
            this.viewerDG.Location = new System.Drawing.Point(0, 0);
            this.viewerDG.MultiSelect = false;
            this.viewerDG.Name = "viewerDG";
            this.viewerDG.Size = new System.Drawing.Size(536, 280);
            this.viewerDG.TabIndex = 0;
            // 
            // closeBtn
            // 
            this.closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.closeBtn.Location = new System.Drawing.Point(410, 290);
            this.closeBtn.Name = "closeBtn";
            this.closeBtn.Size = new System.Drawing.Size(114, 23);
            this.closeBtn.TabIndex = 1;
            this.closeBtn.Text = "Close";
            this.closeBtn.UseVisualStyleBackColor = true;
            this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click);
            // 
            // selectGB
            // 
            this.selectGB.Controls.Add(this.selectAllRB);
            this.selectGB.Controls.Add(this.selectNoneRB);
            this.selectGB.Location = new System.Drawing.Point(12, 287);
            this.selectGB.Name = "selectGB";
            this.selectGB.Size = new System.Drawing.Size(196, 32);
            this.selectGB.TabIndex = 2;
            this.selectGB.TabStop = false;
            // 
            // selectAllRB
            // 
            this.selectAllRB.AutoSize = true;
            this.selectAllRB.Location = new System.Drawing.Point(9, 9);
            this.selectAllRB.Name = "selectAllRB";
            this.selectAllRB.Size = new System.Drawing.Size(68, 17);
            this.selectAllRB.TabIndex = 1;
            this.selectAllRB.TabStop = true;
            this.selectAllRB.Text = "Select All";
            this.selectAllRB.UseVisualStyleBackColor = true;
            this.selectAllRB.CheckedChanged += new System.EventHandler(this.selectAllRB_CheckedChanged);
            // 
            // selectNoneRB
            // 
            this.selectNoneRB.AutoSize = true;
            this.selectNoneRB.Location = new System.Drawing.Point(108, 9);
            this.selectNoneRB.Name = "selectNoneRB";
            this.selectNoneRB.Size = new System.Drawing.Size(82, 17);
            this.selectNoneRB.TabIndex = 0;
            this.selectNoneRB.TabStop = true;
            this.selectNoneRB.Text = "Select None";
            this.selectNoneRB.UseVisualStyleBackColor = true;
            this.selectNoneRB.CheckedChanged += new System.EventHandler(this.selectNoneRB_CheckedChanged);
            // 
            // TablesViewerForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(536, 323);
            this.ControlBox = false;
            this.Controls.Add(this.selectGB);
            this.Controls.Add(this.closeBtn);
            this.Controls.Add(this.panel1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "TablesViewerForm";
            this.ShowInTaskbar = false;
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Tables Viewer";
            this.Load += new System.EventHandler(this.TablesViewer_Load);
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.viewerDG)).EndInit();
            this.selectGB.ResumeLayout(false);
            this.selectGB.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.DataGridView viewerDG;
        private System.Windows.Forms.Button closeBtn;
        private System.Windows.Forms.GroupBox selectGB;
        private System.Windows.Forms.RadioButton selectAllRB;
        private System.Windows.Forms.RadioButton selectNoneRB;
    }
}

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
Egypt Egypt
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions