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

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

, 16 Aug 2005
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
smartclientsoa_src.zip
SmartClient
Client
SMI.App
Controls
Forms
Modules
Properties
app.manifest
Settings.settings
Resources
240.png
Bottom.png
BuilderDialog_delete.bmp
DarkBlue.bmp
download-xp.gif
Earth.png
fldropen.png
iSync.gif
Leonardo_da_Vinci_My_Computer.png
LightBlue.bmp
LoginBox.jpg
LoginButton.jpg
LoginButton1.jpg
LoginButton2.jpg
Logo1.png
LogoPic.jpg
Middle.png
Refresh.bmp
refresh.ico
refresh1.ico
RightArrow.bmp
SuccessComplete.bmp
Task.bmp
Tasks.png
Top.png
TurnOffButton.bmp
wi0062-32.ico
wi0063-32.ico
wi0064-16.ico
wi0064-32.ico
SmartInstitute.App.csproj.user
wi0064-32.ico
SMI.Automation
Commands
Course
Framework
Security
Students
UI
Controls
Documents
MiscDocuments
StudentDocuments
Factories
Forms
Helpers
Misc
Properties
Settings.settings
Resources
BuilderDialog_delete.bmp
LogoSmall.bmp
Misho.jpg
My Pic 7.jpg
table.ico
SmartInstitute.Automation.csproj.user
Web References
SmartInstituteServices.AccountService
Account.datasource
AccountService.disco
AccountService.wsdl
Reference.map
SmartInstituteServices.CourseService
Course.datasource
CourseService.disco
CourseService.wsdl
Reference.map
SmartInstituteServices.SecurityService
Reference.map
SecurityService.disco
SecurityService.wsdl
SmartInstituteServices.StudentService
Reference.map
Student.datasource
StudentService.disco
StudentService.wsdl
SMI.ObjectModel.Enhanced
Base
Models
Properties
Settings.settings
Settings
SmartInstitute.ObjectModel.csproj.user
UMS.ObjectModel.Enhanced.csproj.user
SMI.Objects
SmartInstitute.csproj.user
CodeSmith
Tier
BusinessLogicLayer
Entity.cst
EntityBase.cst
EntityCollection.cst
EntityCollectionBase.cst
Enum.cst
IEntity.cst
DataAccessLayer
App.config.cst
CommonSql.cst
Configuration.cst
DBConcurrencyException.cst
DBException.cst
Factories
EntityRepositoryFactory.cst
IEntityRepository.cst
SqlClient
CVS
Entries
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
TortoiseCVS.Status
SqlEntityRepository.cst
SqlEntityRepositoryBase.cst
TransactionManager.cst
UnitTests
EntityRepositoryTest.cst
WebServiceClient
WsEntityRepository.cst
WsEntityRepositoryBase.cst
Main.cst
nant.cst
References
GotDotNet.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.Data.dll
nunit.framework.dll
StoredProcedures.cst
vsnet2003.project.cst
vsnet2003.solution.cst
vsnet2005.project.cst
vsnet2005.solution.cst
WebService
Web.config.cst
WebService.cst
Database
SmartInstitute.bak
Library
Microsoft.Practices.EnterpriseLibrary.Caching.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuration.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll
Microsoft.Practices.EnterpriseLibrary.Logging.dll
Microsoft.Practices.EnterpriseLibrary.Security.ActiveDirectory.dll
Microsoft.Practices.EnterpriseLibrary.Security.Cache.CachingStore.dll
Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll
Microsoft.Practices.EnterpriseLibrary.Security.Database.Authentication.dll
Microsoft.Practices.EnterpriseLibrary.Security.Database.dll
Microsoft.Practices.EnterpriseLibrary.Security.dll
nunit.core.dll
nunit.framework.dll
Server
BLL
SmartInstitute.csproj.user
DAL
Factories
SmartInstitute.DataAccessLayer.csproj.user
SqlClient
Utilities
GotDotNet.ApplicationBlocks.Data.dll
Microsoft.ApplicationBlocks.Data.dll
nunit.framework.dll
UnitTests
SmartInstitute.build
SmartInstitute.Facade
FacadeTest
SmartInstitute.Facade.csproj.user
SmartInstitute.Test
App.ico
SmartInstitute.Test.csproj.user
SmartInstituteServices
Global.asax
log
SmartInstituteServices.csproj.webinfo
SQL
Setup
SecurityDatabase
SecurityDatabaseConsole
App.ico
SecurityDatabaseConsole.exe.manifest
SR.strings
Tests
Tools.SecurityDatabaseConsole.csproj.user
namespace SmartInstitute.Client.Forms
{
	partial class LoginScreen
	{
		/// <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 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();
			this.pnlTop = new System.Windows.Forms.Panel();
			this.pnlBottom = new System.Windows.Forms.Panel();
			this.lblServer = new System.Windows.Forms.Label();
			this.linkClose = new System.Windows.Forms.LinkLabel();
			this.pnlCenter = new System.Windows.Forms.Panel();
			this.pnlLogin = new System.Windows.Forms.Panel();
			this.loginProgress = new System.Windows.Forms.ProgressBar();
			this.lblProgress = new System.Windows.Forms.Label();
			this.pnlLoginBox = new System.Windows.Forms.Panel();
			this.label4 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.btnOK = new System.Windows.Forms.Button();
			this.txtPassword = new System.Windows.Forms.TextBox();
			this.txtUserName = new System.Windows.Forms.TextBox();
			this.pnlLogo = new System.Windows.Forms.Panel();
			this.pictureBox1 = new System.Windows.Forms.PictureBox();
			this.label1 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.tooltip = new System.Windows.Forms.ToolTip(this.components);
			this.worker = new System.ComponentModel.BackgroundWorker();
			this.pnlBottom.SuspendLayout();
			this.pnlCenter.SuspendLayout();
			this.pnlLogin.SuspendLayout();
			this.pnlLoginBox.SuspendLayout();
			this.pnlLogo.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
			this.SuspendLayout();
			// 
			// pnlTop
			// 
			this.pnlTop.BackgroundImage = SmartInstitute.App.Properties.Resources.Top;
			this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
			this.pnlTop.Location = new System.Drawing.Point(0, 0);
			this.pnlTop.Name = "pnlTop";
			this.pnlTop.Size = new System.Drawing.Size(792, 79);
			this.pnlTop.TabIndex = 1;
			// 
			// pnlBottom
			// 
			this.pnlBottom.BackgroundImage = SmartInstitute.App.Properties.Resources.Bottom;
			this.pnlBottom.Controls.Add(this.lblServer);
			this.pnlBottom.Controls.Add(this.linkClose);
			this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.pnlBottom.Location = new System.Drawing.Point(0, 471);
			this.pnlBottom.Name = "pnlBottom";
			this.pnlBottom.Size = new System.Drawing.Size(792, 95);
			this.pnlBottom.TabIndex = 2;
			// 
			// lblServer
			// 
			this.lblServer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.lblServer.BackColor = System.Drawing.Color.Transparent;
			this.lblServer.ForeColor = System.Drawing.Color.White;
			this.lblServer.Location = new System.Drawing.Point(128, 78);
			this.lblServer.Name = "lblServer";
			this.lblServer.Size = new System.Drawing.Size(661, 14);
			this.lblServer.TabIndex = 4;
			this.lblServer.Text = "Server";
			this.lblServer.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// linkClose
			// 
			this.linkClose.BackColor = System.Drawing.Color.Transparent;
			this.linkClose.Cursor = System.Windows.Forms.Cursors.Hand;
			this.linkClose.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.linkClose.ForeColor = System.Drawing.Color.White;
			this.linkClose.Image = SmartInstitute.App.Properties.Resources.TurnOffButton;
			this.linkClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.linkClose.LinkArea = new System.Windows.Forms.LinkArea(0, 8);
			this.linkClose.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
			this.linkClose.LinkColor = System.Drawing.Color.White;
			this.linkClose.Location = new System.Drawing.Point(13, 13);
			this.linkClose.Name = "linkClose";
			this.linkClose.Size = new System.Drawing.Size(67, 26);
			this.linkClose.TabIndex = 3;
			this.linkClose.TabStop = true;
			this.linkClose.Text = "Exit";
			this.linkClose.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.linkClose.UseCompatibleTextRendering = true;
			this.linkClose.Click += new System.EventHandler(this.linkClose_Click);
			// 
			// pnlCenter
			// 
			this.pnlCenter.BackgroundImage = SmartInstitute.App.Properties.Resources.Middle;
			this.pnlCenter.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
			this.pnlCenter.Controls.Add(this.pnlLogin);
			this.pnlCenter.Controls.Add(this.pnlLogo);
			this.pnlCenter.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pnlCenter.Location = new System.Drawing.Point(0, 79);
			this.pnlCenter.Name = "pnlCenter";
			this.pnlCenter.Size = new System.Drawing.Size(792, 392);
			this.pnlCenter.TabIndex = 3;
			this.pnlCenter.Resize += new System.EventHandler(this.pnlCenter_Resize);
			this.pnlCenter.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlCenter_Paint);
			// 
			// pnlLogin
			// 
			this.pnlLogin.Anchor = System.Windows.Forms.AnchorStyles.None;
			this.pnlLogin.BackColor = System.Drawing.Color.Transparent;
			this.pnlLogin.Controls.Add(this.loginProgress);
			this.pnlLogin.Controls.Add(this.lblProgress);
			this.pnlLogin.Controls.Add(this.pnlLoginBox);
			this.pnlLogin.Location = new System.Drawing.Point(413, 84);
			this.pnlLogin.Name = "pnlLogin";
			this.pnlLogin.Size = new System.Drawing.Size(376, 185);
			this.pnlLogin.TabIndex = 9;
			// 
			// loginProgress
			// 
			this.loginProgress.Location = new System.Drawing.Point(17, 145);
			this.loginProgress.Maximum = 3;
			this.loginProgress.Name = "loginProgress";
			this.loginProgress.Size = new System.Drawing.Size(253, 21);
			this.loginProgress.Step = 1;
			this.loginProgress.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
			this.loginProgress.TabIndex = 3;
			this.loginProgress.Visible = false;
			// 
			// lblProgress
			// 
			this.lblProgress.AutoSize = true;
			this.lblProgress.BackColor = System.Drawing.Color.Transparent;
			this.lblProgress.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.lblProgress.ForeColor = System.Drawing.Color.Black;
			this.lblProgress.Location = new System.Drawing.Point(14, 117);
			this.lblProgress.Name = "lblProgress";
			this.lblProgress.Size = new System.Drawing.Size(120, 23);
			this.lblProgress.TabIndex = 2;
			this.lblProgress.Text = "Signing in...";
			this.lblProgress.Visible = false;
			// 
			// pnlLoginBox
			// 
			this.pnlLoginBox.Controls.Add(this.label4);
			this.pnlLoginBox.Controls.Add(this.label3);
			this.pnlLoginBox.Controls.Add(this.btnOK);
			this.pnlLoginBox.Controls.Add(this.txtPassword);
			this.pnlLoginBox.Controls.Add(this.txtUserName);
			this.pnlLoginBox.Location = new System.Drawing.Point(9, 7);
			this.pnlLoginBox.Name = "pnlLoginBox";
			this.pnlLoginBox.Size = new System.Drawing.Size(366, 91);
			this.pnlLoginBox.TabIndex = 1;
			// 
			// label4
			// 
			this.label4.AutoSize = true;
			this.label4.BackColor = System.Drawing.Color.Transparent;
			this.label4.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label4.ForeColor = System.Drawing.Color.MidnightBlue;
			this.label4.Location = new System.Drawing.Point(17, 30);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(77, 19);
			this.label4.TabIndex = 8;
			this.label4.Text = "Password:";
			this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.BackColor = System.Drawing.Color.Transparent;
			this.label3.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label3.ForeColor = System.Drawing.Color.MidnightBlue;
			this.label3.Location = new System.Drawing.Point(6, 0);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(88, 19);
			this.label3.TabIndex = 7;
			this.label3.Text = "User Name:";
			this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// btnOK
			// 
			this.btnOK.BackColor = System.Drawing.Color.White;
			this.btnOK.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
			this.btnOK.Location = new System.Drawing.Point(100, 57);
			this.btnOK.Margin = new System.Windows.Forms.Padding(0);
			this.btnOK.Name = "btnOK";
			this.btnOK.Size = new System.Drawing.Size(59, 27);
			this.btnOK.TabIndex = 2;
			this.btnOK.Text = "Login";
			this.btnOK.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage;
			this.btnOK.UseVisualStyleBackColor = false;
			this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
			// 
			// txtPassword
			// 
			this.txtPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.txtPassword.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.txtPassword.Location = new System.Drawing.Point(100, 31);
			this.txtPassword.MaxLength = 255;
			this.txtPassword.Name = "txtPassword";
			this.txtPassword.PasswordChar = '●';
			this.txtPassword.Size = new System.Drawing.Size(162, 23);
			this.txtPassword.TabIndex = 1;
			this.txtPassword.Text = "admin";
			this.txtPassword.UseSystemPasswordChar = true;
			// 
			// txtUserName
			// 
			this.txtUserName.AutoSize = false;
			this.txtUserName.BackColor = System.Drawing.Color.White;
			this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.txtUserName.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.txtUserName.ForeColor = System.Drawing.Color.DarkBlue;
			this.txtUserName.Location = new System.Drawing.Point(100, 0);
			this.txtUserName.MaxLength = 255;
			this.txtUserName.Name = "txtUserName";
			this.txtUserName.Size = new System.Drawing.Size(191, 23);
			this.txtUserName.TabIndex = 0;
			this.txtUserName.Text = "Administrator";
			this.tooltip.SetToolTip(this.txtUserName, "Enter your user name here. for example, \"Registrar\"");
			// 
			// pnlLogo
			// 
			this.pnlLogo.Anchor = System.Windows.Forms.AnchorStyles.None;
			this.pnlLogo.BackColor = System.Drawing.Color.Transparent;
			this.pnlLogo.Controls.Add(this.pictureBox1);
			this.pnlLogo.Controls.Add(this.label1);
			this.pnlLogo.Controls.Add(this.label2);
			this.pnlLogo.Location = new System.Drawing.Point(132, 84);
			this.pnlLogo.Name = "pnlLogo";
			this.pnlLogo.Size = new System.Drawing.Size(274, 254);
			this.pnlLogo.TabIndex = 8;
			// 
			// pictureBox1
			// 
			this.pictureBox1.Image = SmartInstitute.App.Properties.Resources.Earth;
			this.pictureBox1.Location = new System.Drawing.Point(151, 0);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(123, 117);
			this.pictureBox1.TabIndex = 8;
			this.pictureBox1.TabStop = false;
			// 
			// label1
			// 
			this.label1.Anchor = System.Windows.Forms.AnchorStyles.None;
			this.label1.BackColor = System.Drawing.Color.Transparent;
			this.label1.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label1.ForeColor = System.Drawing.Color.MidnightBlue;
			this.label1.Location = new System.Drawing.Point(99, 116);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(167, 69);
			this.label1.TabIndex = 7;
			this.label1.Text = "Smart Institute System";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label2
			// 
			this.label2.Anchor = System.Windows.Forms.AnchorStyles.None;
			this.label2.BackColor = System.Drawing.Color.Transparent;
			this.label2.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label2.ForeColor = System.Drawing.Color.MidnightBlue;
			this.label2.Location = new System.Drawing.Point(65, 192);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(209, 43);
			this.label2.TabIndex = 6;
			this.label2.Text = "To begin, enter your user name and password\r\n";
			this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// tooltip
			// 
			this.tooltip.IsBalloon = true;
			// 
			// worker
			// 
			this.worker.WorkerReportsProgress = true;
			this.worker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.worker_DoWork);
			this.worker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.worker_RunWorkerCompleted);
			this.worker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.worker_ProgressChanged);
			// 
			// LoginScreen
			// 
			this.AcceptButton = this.btnOK;
			this.ClientSize = new System.Drawing.Size(792, 566);
			this.Controls.Add(this.pnlCenter);
			this.Controls.Add(this.pnlBottom);
			this.Controls.Add(this.pnlTop);
			this.DoubleBuffered = true;
			this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			this.Name = "LoginScreen";
			this.Text = "LoginScreen";
			this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
			this.Load += new System.EventHandler(this.LoginScreen_Load);
			this.pnlBottom.ResumeLayout(false);
			this.pnlCenter.ResumeLayout(false);
			this.pnlLogin.ResumeLayout(false);
			this.pnlLogin.PerformLayout();
			this.pnlLoginBox.ResumeLayout(false);
			this.pnlLoginBox.PerformLayout();
			this.pnlLogo.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
			this.ResumeLayout(false);

        }

		#endregion

		private System.Windows.Forms.Panel pnlTop;
		private System.Windows.Forms.Panel pnlBottom;
		private System.Windows.Forms.Panel pnlCenter;
		private System.Windows.Forms.LinkLabel linkClose;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Panel pnlLogo;
		private System.Windows.Forms.Panel pnlLogin;
		private System.Windows.Forms.Panel pnlLoginBox;
		private System.Windows.Forms.TextBox txtUserName;
		private System.Windows.Forms.TextBox txtPassword;
		private System.Windows.Forms.Button btnOK;
		private System.Windows.Forms.ToolTip tooltip;
		private System.Windows.Forms.Label lblProgress;
		private System.Windows.Forms.Label lblServer;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.PictureBox pictureBox1;
		private System.Windows.Forms.ProgressBar loginProgress;
		private System.ComponentModel.BackgroundWorker worker;
	}
}

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

Share

About the Author

Omar Al Zabir
Architect BT, UK (ex British Telecom)
United Kingdom United Kingdom

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 17 Aug 2005
Article Copyright 2005 by Omar Al Zabir
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid