Click here to Skip to main content
15,892,674 members
Articles / Database Development / SQL Server

LINQ Challenges and SQL Server Compact Edition

Rate me:
Please Sign up or sign in to vote.
4.81/5 (40 votes)
25 Mar 2008CPOL22 min read 193.1K   1.1K   165  
Overcoming challenges with LINQ to SQL and using LINQ with SQL Server Compact Edition.
namespace TimeApp.UI {

	partial class MainForm {

		/// <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.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
			this.msMain = new System.Windows.Forms.MenuStrip();
			this.miFile = new System.Windows.Forms.ToolStripMenuItem();
			this.miProjectsTasks = new System.Windows.Forms.ToolStripMenuItem();
			this.miSeparatorBeforeClose = new System.Windows.Forms.ToolStripSeparator();
			this.miClose = new System.Windows.Forms.ToolStripMenuItem();
			this.miHelp = new System.Windows.Forms.ToolStripMenuItem();
			this.miAbout = new System.Windows.Forms.ToolStripMenuItem();
			this.niAppNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
			this.msActions = new System.Windows.Forms.ContextMenuStrip(this.components);
			this.miShowTimeApp = new System.Windows.Forms.ToolStripMenuItem();
			this.miSeparatorBeforeTimeEntry = new System.Windows.Forms.ToolStripSeparator();
			this.miSeparatorBeforeExit = new System.Windows.Forms.ToolStripSeparator();
			this.miExit = new System.Windows.Forms.ToolStripMenuItem();
			this.msMain.SuspendLayout();
			this.msActions.SuspendLayout();
			this.SuspendLayout();
			// 
			// msMain
			// 
			this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miFile,
            this.miHelp});
			this.msMain.Location = new System.Drawing.Point(0, 0);
			this.msMain.Name = "msMain";
			this.msMain.Size = new System.Drawing.Size(371, 24);
			this.msMain.TabIndex = 0;
			this.msMain.Text = "menuStrip1";
			// 
			// miFile
			// 
			this.miFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miProjectsTasks,
            this.miSeparatorBeforeClose,
            this.miClose});
			this.miFile.Name = "miFile";
			this.miFile.Size = new System.Drawing.Size(35, 20);
			this.miFile.Text = "&File";
			// 
			// miProjectsTasks
			// 
			this.miProjectsTasks.Name = "miProjectsTasks";
			this.miProjectsTasks.Size = new System.Drawing.Size(167, 22);
			this.miProjectsTasks.Text = "&Projects/Tasks...";
			this.miProjectsTasks.Click += new System.EventHandler(this.miProjectsTasks_Click);
			// 
			// miSeparatorBeforeClose
			// 
			this.miSeparatorBeforeClose.Name = "miSeparatorBeforeClose";
			this.miSeparatorBeforeClose.Size = new System.Drawing.Size(164, 6);
			// 
			// miClose
			// 
			this.miClose.Name = "miClose";
			this.miClose.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
			this.miClose.Size = new System.Drawing.Size(167, 22);
			this.miClose.Text = "&Close";
			this.miClose.Click += new System.EventHandler(this.miClose_Click);
			// 
			// miHelp
			// 
			this.miHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miAbout});
			this.miHelp.Name = "miHelp";
			this.miHelp.Size = new System.Drawing.Size(40, 20);
			this.miHelp.Text = "&Help";
			// 
			// miAbout
			// 
			this.miAbout.Name = "miAbout";
			this.miAbout.Size = new System.Drawing.Size(126, 22);
			this.miAbout.Text = "&About...";
			this.miAbout.Click += new System.EventHandler(this.miAbout_Click);
			// 
			// niAppNotifyIcon
			// 
			this.niAppNotifyIcon.ContextMenuStrip = this.msActions;
			this.niAppNotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("niAppNotifyIcon.Icon")));
			this.niAppNotifyIcon.Text = "Time App";
			this.niAppNotifyIcon.Visible = true;
			this.niAppNotifyIcon.DoubleClick += new System.EventHandler(this.niAppNotifyIcon_DoubleClick);
			// 
			// msActions
			// 
			this.msActions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miShowTimeApp,
            this.miSeparatorBeforeTimeEntry,
            this.miSeparatorBeforeExit,
            this.miExit});
			this.msActions.Name = "msAppNotifyIcon";
			this.msActions.Size = new System.Drawing.Size(172, 60);
			// 
			// miShowTimeApp
			// 
			this.miShowTimeApp.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
			this.miShowTimeApp.Name = "miShowTimeApp";
			this.miShowTimeApp.Size = new System.Drawing.Size(171, 22);
			this.miShowTimeApp.Text = "Show Time App";
			this.miShowTimeApp.Click += new System.EventHandler(this.miShowTimeApp_Click);
			// 
			// miSeparatorBeforeTimeEntry
			// 
			this.miSeparatorBeforeTimeEntry.Name = "miSeparatorBeforeTimeEntry";
			this.miSeparatorBeforeTimeEntry.Size = new System.Drawing.Size(168, 6);
			// 
			// miSeparatorBeforeExit
			// 
			this.miSeparatorBeforeExit.Name = "miSeparatorBeforeExit";
			this.miSeparatorBeforeExit.Size = new System.Drawing.Size(168, 6);
			// 
			// miExit
			// 
			this.miExit.Name = "miExit";
			this.miExit.Size = new System.Drawing.Size(171, 22);
			this.miExit.Text = "Exit";
			this.miExit.Click += new System.EventHandler(this.miExit_Click);
			// 
			// MainForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(371, 213);
			this.Controls.Add(this.msMain);
			this.MainMenuStrip = this.msMain;
			this.Name = "MainForm";
			this.Text = "Time App";
			this.Load += new System.EventHandler(this.MainForm_Load);
			this.msMain.ResumeLayout(false);
			this.msMain.PerformLayout();
			this.msActions.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.MenuStrip msMain;
		private System.Windows.Forms.ToolStripMenuItem miFile;
		private System.Windows.Forms.ToolStripMenuItem miClose;
		private System.Windows.Forms.ToolStripMenuItem miHelp;
		private System.Windows.Forms.ToolStripMenuItem miAbout;
		private System.Windows.Forms.NotifyIcon niAppNotifyIcon;
		private System.Windows.Forms.ContextMenuStrip msActions;
		private System.Windows.Forms.ToolStripMenuItem miShowTimeApp;
		private System.Windows.Forms.ToolStripSeparator miSeparatorBeforeExit;
		private System.Windows.Forms.ToolStripMenuItem miExit;
		private System.Windows.Forms.ToolStripSeparator miSeparatorBeforeTimeEntry;
		private System.Windows.Forms.ToolStripMenuItem miProjectsTasks;
		private System.Windows.Forms.ToolStripSeparator miSeparatorBeforeClose;

	}

}

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
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).

Comments and Discussions