Click here to Skip to main content
15,896,111 members
Articles / Programming Languages / XML

Create Data Classes

Rate me:
Please Sign up or sign in to vote.
4.88/5 (31 votes)
4 Mar 2011CPOL10 min read 135.8K   2.5K   167  
An application that creates a C# class to read/write data to/from an Access, SQLite, or XML database.
namespace JGFileFolderPicker
{
	partial class JFileFolderPicker
	{
		/// <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 Component 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(JFileFolderPicker));
			this.txtResult = new System.Windows.Forms.TextBox();
			this.btnPick = new System.Windows.Forms.Button();
			this.panTextBox = new System.Windows.Forms.Panel();
			this.panButton = new System.Windows.Forms.Panel();
			this.panBack = new System.Windows.Forms.Panel();
			this.panTextBox.SuspendLayout();
			this.panButton.SuspendLayout();
			this.panBack.SuspendLayout();
			this.SuspendLayout();
			// 
			// txtResult
			// 
			this.txtResult.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.txtResult.Location = new System.Drawing.Point(3, 9);
			this.txtResult.Name = "txtResult";
			this.txtResult.Size = new System.Drawing.Size(45, 20);
			this.txtResult.TabIndex = 1;
			this.txtResult.TextChanged += new System.EventHandler(this.txtResult_TextChanged);
			// 
			// btnPick
			// 
			this.btnPick.Dock = System.Windows.Forms.DockStyle.Fill;
			this.btnPick.Font = new System.Drawing.Font("Marlett", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
			this.btnPick.Image = ((System.Drawing.Image)(resources.GetObject("btnPick.Image")));
			this.btnPick.Location = new System.Drawing.Point(0, 0);
			this.btnPick.Name = "btnPick";
			this.btnPick.Size = new System.Drawing.Size(20, 34);
			this.btnPick.TabIndex = 0;
			this.btnPick.UseVisualStyleBackColor = true;
			this.btnPick.Click += new System.EventHandler(this.PickButton_Click);
			// 
			// panTextBox
			// 
			this.panTextBox.Controls.Add(this.txtResult);
			this.panTextBox.Location = new System.Drawing.Point(3, 4);
			this.panTextBox.Name = "panTextBox";
			this.panTextBox.Size = new System.Drawing.Size(56, 33);
			this.panTextBox.TabIndex = 2;
			// 
			// panButton
			// 
			this.panButton.Controls.Add(this.btnPick);
			this.panButton.Location = new System.Drawing.Point(77, 4);
			this.panButton.Name = "panButton";
			this.panButton.Size = new System.Drawing.Size(20, 34);
			this.panButton.TabIndex = 3;
			// 
			// panBack
			// 
			this.panBack.Controls.Add(this.panTextBox);
			this.panBack.Controls.Add(this.panButton);
			this.panBack.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panBack.Location = new System.Drawing.Point(0, 0);
			this.panBack.Name = "panBack";
			this.panBack.Size = new System.Drawing.Size(121, 47);
			this.panBack.TabIndex = 4;
			this.panBack.Paint += new System.Windows.Forms.PaintEventHandler(this.panBack_Paint);
			// 
			// JFileFolderPicker
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.panBack);
			this.Name = "JFileFolderPicker";
			this.Size = new System.Drawing.Size(121, 47);
			this.Layout += new System.Windows.Forms.LayoutEventHandler(this.JFileFolderPicker_Layout);
			this.Resize += new System.EventHandler(this.JFileFolderPicker_Resize);
			this.panTextBox.ResumeLayout(false);
			this.panTextBox.PerformLayout();
			this.panButton.ResumeLayout(false);
			this.panBack.ResumeLayout(false);
			this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.TextBox txtResult;
		private System.Windows.Forms.Button btnPick;
		private System.Windows.Forms.Panel panTextBox;
		private System.Windows.Forms.Panel panButton;
		private System.Windows.Forms.Panel panBack;
	}
}

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
Retired
United Kingdom United Kingdom
I have been a keen hobbyist programmer since getting my first computer - a Vic 20 (you had to be able to write programs then since few programs were available and all were expensive).
Retired and now living in Pewsey, Wiltshire, where I spend (far too much of) my time writing computer programs to keep my mind active.

Comments and Discussions