Click here to Skip to main content
15,881,812 members
Articles / Desktop Programming / Windows Forms

Three-tier .NET Application Utilizing Three ORM Technologies

Rate me:
Please Sign up or sign in to vote.
4.95/5 (118 votes)
30 Jan 2010CPOL109 min read 163.6K   4.4K   437  
LINQ to SQL, Entity Framework, and NHibernate used in a parallel fashion in a three-tier WinForms application.
namespace WinUI
{
	partial class SummaryControl
	{
		/// <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()
		{
			this.splitContainer1 = new System.Windows.Forms.SplitContainer();
			this._dgvNWAccnts = new System.Windows.Forms.DataGridView();
			this._dgvDltAllocAccnts = new System.Windows.Forms.DataGridView();
			this._dgvSummary = new System.Windows.Forms.DataGridView();
			this.splitContainer1.Panel1.SuspendLayout();
			this.splitContainer1.Panel2.SuspendLayout();
			this.splitContainer1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this._dgvNWAccnts)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this._dgvDltAllocAccnts)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this._dgvSummary)).BeginInit();
			this.SuspendLayout();
			// 
			// splitContainer1
			// 
			this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
						| System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.splitContainer1.Location = new System.Drawing.Point(3, 158);
			this.splitContainer1.Name = "splitContainer1";
			this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
			// 
			// splitContainer1.Panel1
			// 
			this.splitContainer1.Panel1.Controls.Add(this._dgvNWAccnts);
			// 
			// splitContainer1.Panel2
			// 
			this.splitContainer1.Panel2.Controls.Add(this._dgvDltAllocAccnts);
			this.splitContainer1.Size = new System.Drawing.Size(479, 210);
			this.splitContainer1.SplitterDistance = 104;
			this.splitContainer1.TabIndex = 17;
			// 
			// _dgvNWAccnts
			// 
			this._dgvNWAccnts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this._dgvNWAccnts.Dock = System.Windows.Forms.DockStyle.Fill;
			this._dgvNWAccnts.Location = new System.Drawing.Point(0, 0);
			this._dgvNWAccnts.Name = "_dgvNWAccnts";
			this._dgvNWAccnts.ReadOnly = true;
			this._dgvNWAccnts.Size = new System.Drawing.Size(479, 104);
			this._dgvNWAccnts.TabIndex = 8;
			// 
			// _dgvDltAllocAccnts
			// 
			this._dgvDltAllocAccnts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this._dgvDltAllocAccnts.Dock = System.Windows.Forms.DockStyle.Fill;
			this._dgvDltAllocAccnts.Location = new System.Drawing.Point(0, 0);
			this._dgvDltAllocAccnts.Name = "_dgvDltAllocAccnts";
			this._dgvDltAllocAccnts.ReadOnly = true;
			this._dgvDltAllocAccnts.Size = new System.Drawing.Size(479, 102);
			this._dgvDltAllocAccnts.TabIndex = 9;
			// 
			// _dgvSummary
			// 
			this._dgvSummary.AllowUserToAddRows = false;
			this._dgvSummary.AllowUserToResizeRows = false;
			this._dgvSummary.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this._dgvSummary.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this._dgvSummary.Location = new System.Drawing.Point(4, 5);
			this._dgvSummary.Name = "_dgvSummary";
			this._dgvSummary.ReadOnly = true;
			this._dgvSummary.Size = new System.Drawing.Size(478, 147);
			this._dgvSummary.TabIndex = 16;
			// 
			// SummaryControl
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.splitContainer1);
			this.Controls.Add(this._dgvSummary);
			this.Name = "SummaryControl";
			this.Size = new System.Drawing.Size(485, 371);
			this.splitContainer1.Panel1.ResumeLayout(false);
			this.splitContainer1.Panel2.ResumeLayout(false);
			this.splitContainer1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this._dgvNWAccnts)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this._dgvDltAllocAccnts)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this._dgvSummary)).EndInit();
			this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.SplitContainer splitContainer1;
		private System.Windows.Forms.DataGridView _dgvNWAccnts;
		private System.Windows.Forms.DataGridView _dgvDltAllocAccnts;
		private System.Windows.Forms.DataGridView _dgvSummary;
	}
}

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
Software Developer (Senior) Austin Regional Clinic
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions