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

LINQ Challenges and SQL Server Compact Edition

, 25 Mar 2008 CPOL
Overcoming challenges with LINQ to SQL and using LINQ with SQL Server Compact Edition.
namespace TimeApp.UI {
	partial class ProjectListForm {
		/// <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.tlpMain = new System.Windows.Forms.TableLayoutPanel();
			this.btnAdd = new System.Windows.Forms.Button();
			this.btnEdit = new System.Windows.Forms.Button();
			this.btnDelete = new System.Windows.Forms.Button();
			this.btnClose = new System.Windows.Forms.Button();
			this.lbProjects = new System.Windows.Forms.ListBox();
			this.tlpButtons = new System.Windows.Forms.TableLayoutPanel();
			this.tlpButtons.SuspendLayout();
			this.SuspendLayout();
			// 
			// tlpMain
			// 
			this.tlpMain.AutoSize = true;
			this.tlpMain.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.tlpMain.ColumnCount = 2;
			this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
			this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
			this.tlpMain.Location = new System.Drawing.Point(5, 5);
			this.tlpMain.Name = "tlpMain";
			this.tlpMain.RowCount = 4;
			this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpMain.Size = new System.Drawing.Size(0, 0);
			this.tlpMain.TabIndex = 0;
			// 
			// btnAdd
			// 
			this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnAdd.Location = new System.Drawing.Point(3, 3);
			this.btnAdd.Name = "btnAdd";
			this.btnAdd.Size = new System.Drawing.Size(75, 23);
			this.btnAdd.TabIndex = 0;
			this.btnAdd.Text = "&Add...";
			this.btnAdd.UseVisualStyleBackColor = true;
			this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
			// 
			// btnEdit
			// 
			this.btnEdit.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnEdit.Location = new System.Drawing.Point(3, 32);
			this.btnEdit.Name = "btnEdit";
			this.btnEdit.Size = new System.Drawing.Size(75, 23);
			this.btnEdit.TabIndex = 1;
			this.btnEdit.Text = "&Edit...";
			this.btnEdit.UseVisualStyleBackColor = true;
			this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
			// 
			// btnDelete
			// 
			this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnDelete.Location = new System.Drawing.Point(3, 61);
			this.btnDelete.Name = "btnDelete";
			this.btnDelete.Size = new System.Drawing.Size(75, 23);
			this.btnDelete.TabIndex = 2;
			this.btnDelete.Text = "&Delete";
			this.btnDelete.UseVisualStyleBackColor = true;
			this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
			// 
			// btnClose
			// 
			this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.btnClose.Location = new System.Drawing.Point(3, 251);
			this.btnClose.Name = "btnClose";
			this.btnClose.Size = new System.Drawing.Size(75, 23);
			this.btnClose.TabIndex = 3;
			this.btnClose.Text = "Close";
			this.btnClose.UseVisualStyleBackColor = true;
			// 
			// lbProjects
			// 
			this.lbProjects.Dock = System.Windows.Forms.DockStyle.Fill;
			this.lbProjects.FormattingEnabled = true;
			this.lbProjects.Location = new System.Drawing.Point(5, 5);
			this.lbProjects.Name = "lbProjects";
			this.lbProjects.Size = new System.Drawing.Size(332, 277);
			this.lbProjects.TabIndex = 0;
			this.lbProjects.SelectedIndexChanged += new System.EventHandler(this.lbProjects_SelectedIndexChanged);
			this.lbProjects.DoubleClick += new System.EventHandler(this.lbProjects_DoubleClick);
			// 
			// tlpButtons
			// 
			this.tlpButtons.AutoSize = true;
			this.tlpButtons.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.tlpButtons.ColumnCount = 1;
			this.tlpButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
			this.tlpButtons.Controls.Add(this.btnClose, 0, 3);
			this.tlpButtons.Controls.Add(this.btnDelete, 0, 2);
			this.tlpButtons.Controls.Add(this.btnEdit, 0, 1);
			this.tlpButtons.Controls.Add(this.btnAdd, 0, 0);
			this.tlpButtons.Dock = System.Windows.Forms.DockStyle.Right;
			this.tlpButtons.Location = new System.Drawing.Point(337, 5);
			this.tlpButtons.Name = "tlpButtons";
			this.tlpButtons.RowCount = 4;
			this.tlpButtons.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpButtons.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpButtons.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpButtons.RowStyles.Add(new System.Windows.Forms.RowStyle());
			this.tlpButtons.Size = new System.Drawing.Size(81, 277);
			this.tlpButtons.TabIndex = 1;
			this.tlpButtons.DoubleClick += new System.EventHandler(this.lbProjects_DoubleClick);
			// 
			// ProjectListForm
			// 
			this.AcceptButton = this.btnEdit;
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.AutoSize = true;
			this.CancelButton = this.btnClose;
			this.ClientSize = new System.Drawing.Size(423, 287);
			this.Controls.Add(this.lbProjects);
			this.Controls.Add(this.tlpButtons);
			this.Controls.Add(this.tlpMain);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ProjectListForm";
			this.Padding = new System.Windows.Forms.Padding(5);
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "Projects";
			this.Load += new System.EventHandler(this.ProjectListForm_Load);
			this.tlpButtons.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.TableLayoutPanel tlpMain;
		private System.Windows.Forms.Button btnAdd;
		private System.Windows.Forms.Button btnEdit;
		private System.Windows.Forms.Button btnDelete;
		private System.Windows.Forms.Button btnClose;
		private System.Windows.Forms.ListBox lbProjects;
		private System.Windows.Forms.TableLayoutPanel tlpButtons;
	}
}

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

Matt Sollars
Web Developer
United States United States
I began programming on my Commodore 64 at around the age of 12. After migrating to DOS and then Windows, I decided to take on the Web. Several languages and platforms later, I have settled in with .NET nicely. I am currently the owner of a software consulting company and lead application developer for a learning-based technology consultation company.
 
The love of a finished application is usually at war with the desire to improve it as soon as it's released (they're never really finished).

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141223.1 | Last Updated 25 Mar 2008
Article Copyright 2007 by Matt Sollars
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid