Click here to Skip to main content
15,895,746 members
Articles / Web Development / ASP.NET

Developing Next Generation Smart Clients using .NET 2.0 working with Existing .NET 1.1 SOA-based XML Web Services

Rate me:
Please Sign up or sign in to vote.
4.96/5 (134 votes)
16 Aug 200540 min read 1.2M   3.9K   462  
Comprehensive guide to development of .NET 2.0 Smart Clients working with existing Service Oriented Architecture based XML web services, fully utilizing the Enterprise Library
namespace SmartInstitute.Client.Modules
{
	partial class ClassListPane
	{
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		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.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ClassListPane));
			this.backgroundTask = new System.ComponentModel.BackgroundWorker();
			this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
			this.txtSearch = new System.Windows.Forms.TextBox();
			this.btnRefresh = new System.Windows.Forms.Button();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.courseMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.classListPanel = new SmartInstitute.Client.Office2003HeaderSub();
			this.pnlProgress = new System.Windows.Forms.Panel();
			this.progressPanel = new SmartInstitute.Client.Automation.Controls.ProgressPanel();
			this.courseTree = new SmartInstitute.Client.Modules.OfferedCourseTree();
			this.searchPanel = new SmartInstitute.Client.Office2003HeaderSub();
			this.lblTitle = new System.Windows.Forms.Label();
			this.courseMenu.SuspendLayout();
			this.classListPanel.SuspendLayout();
			this.pnlProgress.SuspendLayout();
			this.searchPanel.SuspendLayout();
			this.SuspendLayout();
			// 
			// backgroundTask
			// 
			this.backgroundTask.WorkerReportsProgress = true;
			this.backgroundTask.WorkerSupportsCancellation = true;
			this.backgroundTask.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundTask_DoWork);
			this.backgroundTask.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundTask_RunWorkerCompleted);
			// 
			// toolTip1
			// 
			this.toolTip1.IsBalloon = true;
			// 
			// txtSearch
			// 
			this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.txtSearch.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
			this.txtSearch.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
			this.txtSearch.AutoSize = false;
			this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.txtSearch.Location = new System.Drawing.Point(6, 46);
			this.txtSearch.Name = "txtSearch";
			this.txtSearch.Size = new System.Drawing.Size(137, 20);
			this.txtSearch.TabIndex = 2;
			this.toolTip1.SetToolTip(this.txtSearch, "Type the class ID or class title to find from the class list");
			this.txtSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSearch_KeyUp);
			this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged);
			// 
			// btnRefresh
			// 
			this.btnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.btnRefresh.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
			this.btnRefresh.ImageKey = "refresh.ico";
			this.btnRefresh.ImageList = this.imageList1;
			this.btnRefresh.Location = new System.Drawing.Point(144, 44);
			this.btnRefresh.Margin = new System.Windows.Forms.Padding(3, 1, 3, 3);
			this.btnRefresh.Name = "btnRefresh";
			this.btnRefresh.Size = new System.Drawing.Size(22, 24);
			this.btnRefresh.TabIndex = 4;
			this.toolTip1.SetToolTip(this.btnRefresh, "Reload the class list from server. This may take a while");
			this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
			// 
			// imageList1
			// 
			this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			this.imageList1.Images.SetKeyName(0, "refresh.ico");
			// 
			// courseMenu
			// 
			this.courseMenu.AllowDrop = true;
			this.courseMenu.Enabled = true;
			this.courseMenu.GripMargin = new System.Windows.Forms.Padding(2);
			this.courseMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.addToolStripMenuItem});
			this.courseMenu.Location = new System.Drawing.Point(21, 109);
			this.courseMenu.Name = "courseMenu";
			this.courseMenu.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.courseMenu.Size = new System.Drawing.Size(172, 45);
			this.courseMenu.Visible = true;
			// 
			// addToolStripMenuItem
			// 
			this.addToolStripMenuItem.Name = "addToolStripMenuItem";
			this.addToolStripMenuItem.Text = "Add to Registration ->";
			this.addToolStripMenuItem.Click += new System.EventHandler(this.addToolStripMenuItem_Click);
			// 
			// classListPanel
			// 
			this.classListPanel.BackColor = System.Drawing.SystemColors.Control;
			this.classListPanel.Controls.Add(this.pnlProgress);
			this.classListPanel.Controls.Add(this.courseTree);
			this.classListPanel.Dock = System.Windows.Forms.DockStyle.Fill;
			this.classListPanel.Location = new System.Drawing.Point(0, 73);
			this.classListPanel.Name = "classListPanel";
			this.classListPanel.Size = new System.Drawing.Size(169, 278);
			this.classListPanel.TabIndex = 5;
			this.classListPanel.TitleFont = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.classListPanel.TitleText = "Class List";
			// 
			// pnlProgress
			// 
			this.pnlProgress.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.pnlProgress.BackColor = System.Drawing.Color.White;
			this.pnlProgress.Controls.Add(this.progressPanel);
			this.pnlProgress.Location = new System.Drawing.Point(0, 20);
			this.pnlProgress.Name = "pnlProgress";
			this.pnlProgress.Size = new System.Drawing.Size(169, 258);
			this.pnlProgress.TabIndex = 1;
			// 
			// progressPanel
			// 
			this.progressPanel.BackColor = System.Drawing.Color.WhiteSmoke;
			this.progressPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.progressPanel.Location = new System.Drawing.Point(19, 104);
			this.progressPanel.Name = "progressPanel";
			this.progressPanel.Size = new System.Drawing.Size(133, 49);
			this.progressPanel.TabIndex = 0;
			this.progressPanel.Title = "Loading...";
			// 
			// courseTree
			// 
			this.courseTree.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.courseTree.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.courseTree.ContextMenuStrip = this.courseMenu;
			this.courseTree.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
			this.courseTree.FullRowSelect = true;
			this.courseTree.HideSelection = false;
			this.courseTree.Indent = 10;
			this.courseTree.ItemHeight = 37;
			this.courseTree.LineColor = System.Drawing.Color.DimGray;
			this.courseTree.Location = new System.Drawing.Point(0, 20);
			this.courseTree.Margin = new System.Windows.Forms.Padding(3, 1, 3, 3);
			this.courseTree.Name = "courseTree";
			this.courseTree.ShowLines = false;
			this.courseTree.ShowNodeToolTips = true;
			this.courseTree.ShowRootLines = false;
			this.courseTree.Size = new System.Drawing.Size(169, 258);
			this.courseTree.TabIndex = 0;
			this.courseTree.DoubleClick += new System.EventHandler(this.courseTree_DoubleClick);
			// 
			// searchPanel
			// 
			this.searchPanel.BackColor = System.Drawing.Color.LightSteelBlue;
			this.searchPanel.Controls.Add(this.txtSearch);
			this.searchPanel.Controls.Add(this.btnRefresh);
			this.searchPanel.Controls.Add(this.lblTitle);
			this.searchPanel.Dock = System.Windows.Forms.DockStyle.Top;
			this.searchPanel.Location = new System.Drawing.Point(0, 0);
			this.searchPanel.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
			this.searchPanel.Name = "searchPanel";
			this.searchPanel.Size = new System.Drawing.Size(169, 73);
			this.searchPanel.TabIndex = 4;
			this.searchPanel.TitleFont = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.searchPanel.TitleText = "Search";
			// 
			// lblTitle
			// 
			this.lblTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
						| System.Windows.Forms.AnchorStyles.Right)));
			this.lblTitle.AutoSize = true;
			this.lblTitle.Location = new System.Drawing.Point(6, 26);
			this.lblTitle.Margin = new System.Windows.Forms.Padding(3, 3, 3, 1);
			this.lblTitle.Name = "lblTitle";
			this.lblTitle.Size = new System.Drawing.Size(126, 26);
			this.lblTitle.TabIndex = 3;
			this.lblTitle.Text = "Search by class ID or title:\r\n";
			// 
			// ClassListPane
			// 
			this.Controls.Add(this.classListPanel);
			this.Controls.Add(this.searchPanel);
			this.Name = "ClassListPane";
			this.Size = new System.Drawing.Size(169, 351);
			this.Load += new System.EventHandler(this.ClassListFile_Load);
			this.courseMenu.ResumeLayout(false);
			this.classListPanel.ResumeLayout(false);
			this.pnlProgress.ResumeLayout(false);
			this.searchPanel.ResumeLayout(false);
			this.searchPanel.PerformLayout();
			this.ResumeLayout(false);

        }

		#endregion

		private System.ComponentModel.BackgroundWorker backgroundTask;
        private System.Windows.Forms.ToolTip toolTip1;
        private System.Windows.Forms.ContextMenuStrip courseMenu;
		private System.Windows.Forms.ToolStripMenuItem addToolStripMenuItem;
        private Office2003HeaderSub classListPanel;
        private System.Windows.Forms.Panel pnlProgress;
        private OfferedCourseTree courseTree;
        private Office2003HeaderSub searchPanel;
		private System.Windows.Forms.TextBox txtSearch;
        private System.Windows.Forms.Label lblTitle;
        private SmartInstitute.Client.Automation.Controls.ProgressPanel progressPanel;
		private System.Windows.Forms.Button btnRefresh;
		private System.Windows.Forms.ImageList imageList1;
    }
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect BT, UK (ex British Telecom)
United Kingdom United Kingdom

Comments and Discussions