This sample page shows the output of the code generation engines for binding a business object to form control properties using manual assignment.
To initialize the data source (business object) properties to the form or usercontrol call the InitializeDataSource method with a business object instance.
The form designer generation engine created a Save method to deserializes a business object from the form.
The class has a property to access the datasource named EmployeesRowData.
The generated class is based on the northwind employee table. In this sample all datasource properties are assigned to a TextBox or DateTimePicker.
code samples
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by form.suite4.net.
//     
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
using System;
namespace suite4.net
{
    public class ScreenShots : System.Web.UI.UserControl
    {
        private const string COLOR = "#ffffff";
        private const string BACK_COLOR_ON = "#ffffff";
        private const string BACK_COLOR_OFF = "#ffffff";
        private const string BORDER_STYLE_ON = "solid";
        private const string BORDER_STYLE_OFF = "none";
        private const string BORDER_COLOR_OFF = "#ffffff";
        private const string BORDER_COLOR_ON = "#000000";
        private const string BORDER_WIDTH = "1px";
        private const string PADDING_WIDTH = "2px";
        private bool _IsInitialized;
        protected System.Web.UI.WebControls.TextBox txtEmployeeID;
        protected System.Web.UI.WebControls.Label lblEmployeeID;
        protected System.Web.UI.HtmlControls.HtmlTable tabTabControl1_Table;
        protected System.Web.UI.HtmlControls.HtmlTableRow tabTabControl1_TableRow;
        protected System.Web.UI.HtmlControls.HtmlGenericControl Name_Address_Content;
        protected System.Web.UI.WebControls.TextBox txtTitleOfCourtesy;
        protected System.Web.UI.WebControls.Label lblTitleOfCourtesy;
        protected System.Web.UI.WebControls.TextBox txtTitle;
        protected System.Web.UI.WebControls.Label lblTitle;
        protected System.Web.UI.WebControls.TextBox txtCountry;
        protected System.Web.UI.WebControls.Label lblCountry;
        protected System.Web.UI.WebControls.TextBox txtRegion;
        protected System.Web.UI.WebControls.Label lblRegion;
        protected System.Web.UI.WebControls.TextBox txtPostalCode;
        protected System.Web.UI.WebControls.Label lblPostalCode;
        protected System.Web.UI.WebControls.TextBox txtCity;
        protected System.Web.UI.WebControls.Label lblCity;
        protected System.Web.UI.WebControls.TextBox txtStreet;
        protected System.Web.UI.WebControls.Label lblStreet;
        protected System.Web.UI.HtmlControls.HtmlGenericControl Address;
        protected System.Web.UI.WebControls.TextBox txtFirstName;
        protected System.Web.UI.WebControls.Label lblFirstName;
        protected System.Web.UI.WebControls.TextBox txtLastName;
        protected System.Web.UI.WebControls.Label lblLastName;
        protected System.Web.UI.HtmlControls.HtmlTableCell Name_Address_Header;
        protected System.Web.UI.HtmlControls.HtmlGenericControl Communication_Content;
        protected System.Web.UI.WebControls.TextBox txtExtension;
        protected System.Web.UI.WebControls.TextBox txtHomeEmail;
        protected System.Web.UI.WebControls.TextBox txtHomePhone_;
        protected System.Web.UI.WebControls.Label lblpriv_Email;
        protected System.Web.UI.WebControls.Label lblpriv_Phone_;
        protected System.Web.UI.WebControls.TextBox txtWorkEmail;
        protected System.Web.UI.WebControls.TextBox txtWorkFax_;
        protected System.Web.UI.WebControls.Label lblWorkEmail;
        protected System.Web.UI.WebControls.Label lblWorkFax_;
        protected System.Web.UI.WebControls.TextBox txtWorkPhone_;
        protected System.Web.UI.WebControls.Label lblWorkPhone_;
        protected System.Web.UI.WebControls.Label lblExt_;
        protected System.Web.UI.HtmlControls.HtmlTableCell Communication_Header;
        protected System.Web.UI.HtmlControls.HtmlGenericControl Security_Content;
        protected System.Web.UI.WebControls.TextBox txtNotes;
        protected System.Web.UI.WebControls.TextBox txtReportsTo;
        protected System.Web.UI.WebControls.Label lblNotes;
        protected System.Web.UI.WebControls.Label lblReportsTo;
        protected System.Web.UI.WebControls.Label lblHireDate;
        protected System.Web.UI.WebControls.Label lblBirthDate;
        protected System.Web.UI.HtmlControls.HtmlTableCell Security_Header;
        protected System.Web.UI.HtmlControls.HtmlGenericControl Picture_Content;
        protected System.Web.UI.WebControls.Image picPictureBox1;
        protected System.Web.UI.WebControls.TextBox txtPhotoPath;
        protected System.Web.UI.WebControls.Label lblPhotoPath;
        protected System.Web.UI.HtmlControls.HtmlTableCell Picture_Header;
        protected System.Web.UI.HtmlControls.HtmlTableCell tabTabControl1_HeaderFill;
        protected System.Web.UI.HtmlControls.HtmlGenericControl tabTabControl1;
        protected System.Web.UI.HtmlControls.HtmlAnchor Name_Address_Button;
        protected System.Web.UI.HtmlControls.HtmlAnchor Communication_Button;
        protected System.Web.UI.HtmlControls.HtmlAnchor Security_Button;
        protected System.Web.UI.HtmlControls.HtmlAnchor Picture_Button;
        protected suite4.net.Northwind.EmployeesRow _dataEmployeesRow;
        #region suite4.net.Northwind.EmployeesRow DataEmployeesRow
        public virtual suite4.net.Northwind.EmployeesRow DataEmployeesRow
        {
            get{return this._dataEmployeesRow;}
            set
            {
                this._dataEmployeesRow = value;
                this.InitializeDataSource(this._dataEmployeesRow);
            } // end set
        } // end public virtual suite4.net.Northwind.EmployeesRow DataEmployeesRow
        #endregion
        #region void InitializeComponent()
        private void InitializeComponent()
        {
            #region Assign instances
            this.Load += new System.EventHandler(this.Page_Load);
            #endregion
        } // end private void InitializeComponent()
        #endregion
        #region void OnInit(System.EventArgs e)
        protected override void OnInit(System.EventArgs e)
        {
            this.InitializeComponent();
            base.OnInit(e);
        } // end protected override void OnInit(System.EventArgs e)
        #endregion
        #region void Page_Load(object sender, System.EventArgs e)
        private void Page_Load(object sender, System.EventArgs e)
        {
            if((this.txtEmployeeID != null))
            {
                this.InitializeTabControl();
            } // end if((this.txtEmployeeID != null))
            if(this._IsInitialized)
            {
                return;
            } // end if(this._IsInitialized)
            this._IsInitialized = true;
            if((this.txtEmployeeID != null))
            {
                return;
            } // end if((this.txtEmployeeID != null))
            this.txtEmployeeID = new System.Web.UI.WebControls.TextBox();
            this.lblEmployeeID = new System.Web.UI.WebControls.Label();
            this.tabTabControl1_Table = new System.Web.UI.HtmlControls.HtmlTable();
            this.tabTabControl1_TableRow = new System.Web.UI.HtmlControls.HtmlTableRow();
            this.Name_Address_Content = new System.Web.UI.HtmlControls.HtmlGenericControl();
            this.txtTitleOfCourtesy = new System.Web.UI.WebControls.TextBox();
            this.lblTitleOfCourtesy = new System.Web.UI.WebControls.Label();
            this.txtTitle = new System.Web.UI.WebControls.TextBox();
            this.lblTitle = new System.Web.UI.WebControls.Label();
            this.txtCountry = new System.Web.UI.WebControls.TextBox();
            this.lblCountry = new System.Web.UI.WebControls.Label();
            this.txtRegion = new System.Web.UI.WebControls.TextBox();
            this.lblRegion = new System.Web.UI.WebControls.Label();
            this.txtPostalCode = new System.Web.UI.WebControls.TextBox();
            this.lblPostalCode = new System.Web.UI.WebControls.Label();
            this.txtCity = new System.Web.UI.WebControls.TextBox();
            this.lblCity = new System.Web.UI.WebControls.Label();
            this.txtStreet = new System.Web.UI.WebControls.TextBox();
            this.lblStreet = new System.Web.UI.WebControls.Label();
            this.Address = new System.Web.UI.HtmlControls.HtmlGenericControl();
            this.txtFirstName = new System.Web.UI.WebControls.TextBox();
            this.lblFirstName = new System.Web.UI.WebControls.Label();
            this.txtLastName = new System.Web.UI.WebControls.TextBox();
            this.lblLastName = new System.Web.UI.WebControls.Label();
            this.Name_Address_Header = new System.Web.UI.HtmlControls.HtmlTableCell();
            this.Communication_Content = new System.Web.UI.HtmlControls.HtmlGenericControl();
            this.txtExtension = new System.Web.UI.WebControls.TextBox();
            this.txtHomeEmail = new System.Web.UI.WebControls.TextBox();
            this.txtHomePhone_ = new System.Web.UI.WebControls.TextBox();
            this.lblpriv_Email = new System.Web.UI.WebControls.Label();
            this.lblpriv_Phone_ = new System.Web.UI.WebControls.Label();
            this.txtWorkEmail = new System.Web.UI.WebControls.TextBox();
            this.txtWorkFax_ = new System.Web.UI.WebControls.TextBox();
            this.lblWorkEmail = new System.Web.UI.WebControls.Label();
            this.lblWorkFax_ = new System.Web.UI.WebControls.Label();
            this.txtWorkPhone_ = new System.Web.UI.WebControls.TextBox();
            this.lblWorkPhone_ = new System.Web.UI.WebControls.Label();
            this.lblExt_ = new System.Web.UI.WebControls.Label();
            this.Communication_Header = new System.Web.UI.HtmlControls.HtmlTableCell();
            this.Security_Content = new System.Web.UI.HtmlControls.HtmlGenericControl();
            this.txtNotes = new System.Web.UI.WebControls.TextBox();
            this.txtReportsTo = new System.Web.UI.WebControls.TextBox();
            this.lblNotes = new System.Web.UI.WebControls.Label();
            this.lblReportsTo = new System.Web.UI.WebControls.Label();
            this.lblHireDate = new System.Web.UI.WebControls.Label();
            this.lblBirthDate = new System.Web.UI.WebControls.Label();
            this.Security_Header = new System.Web.UI.HtmlControls.HtmlTableCell();
            this.Picture_Content = new System.Web.UI.HtmlControls.HtmlGenericControl();
            this.picPictureBox1 = new System.Web.UI.WebControls.Image();
            this.txtPhotoPath = new System.Web.UI.WebControls.TextBox();
            this.lblPhotoPath = new System.Web.UI.WebControls.Label();
            this.Picture_Header = new System.Web.UI.HtmlControls.HtmlTableCell();
            this.tabTabControl1_HeaderFill = new System.Web.UI.HtmlControls.HtmlTableCell();
            this.tabTabControl1 = new System.Web.UI.HtmlControls.HtmlGenericControl();
            this.Name_Address_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            this.Communication_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            this.Security_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            this.Picture_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            // 
            // txtEmployeeID
            // 
            this.txtEmployeeID.Height = 20;
            this.txtEmployeeID.Width = 96;
            this.txtEmployeeID.Columns = 15;
            this.txtEmployeeID.Text = "EmployeeID";
            this.txtEmployeeID.ID = "txtEmployeeID";
            this.txtEmployeeID.MaxLength = 32767;
            this.txtEmployeeID.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:11px;");
            // 
            // lblEmployeeID
            // 
            this.lblEmployeeID.Width = 66;
            this.lblEmployeeID.ID = "lblEmployeeID";
            this.lblEmployeeID.Height = 16;
            this.lblEmployeeID.Text = "EmployeeID";
            this.lblEmployeeID.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:16px;top:13px;width:66px;height:16px;");
            // 
            // tabTabControl1_Table
            // 
            this.tabTabControl1_Table.CellSpacing = -1;
            this.tabTabControl1_Table.CellPadding = -1;
            this.tabTabControl1_Table.ID = "tabTabControl1_Table";
            this.tabTabControl1_Table.Attributes.Add("style", "");
            // 
            // tabTabControl1_TableRow
            // 
            this.tabTabControl1_TableRow.ID = "tabTabControl1_TableRow";
            this.tabTabControl1_TableRow.Attributes.Add("style", "");
            // 
            // Name_Address_Content
            // 
            this.Name_Address_Content.TagName = "span";
            this.Name_Address_Content.ID = "Name_Address_Content";
            this.Name_Address_Content.InnerHtml = "";
            this.Name_Address_Content.Attributes.Add("style", "");
            // 
            // txtTitleOfCourtesy
            // 
            this.txtTitleOfCourtesy.Height = 20;
            this.txtTitleOfCourtesy.Width = 96;
            this.txtTitleOfCourtesy.Columns = 15;
            this.txtTitleOfCourtesy.Text = "TitleOfCourtesy";
            this.txtTitleOfCourtesy.ID = "txtTitleOfCourtesy";
            this.txtTitleOfCourtesy.MaxLength = 32767;
            this.txtTitleOfCourtesy.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:40px;");
            // 
            // lblTitleOfCourtesy
            // 
            this.lblTitleOfCourtesy.Width = 83;
            this.lblTitleOfCourtesy.ID = "lblTitleOfCourtesy";
            this.lblTitleOfCourtesy.Height = 16;
            this.lblTitleOfCourtesy.Text = "TitleOfCourtesy";
            this.lblTitleOfCourtesy.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:40px;width:83px;height:16px;");
            // 
            // txtTitle
            // 
            this.txtTitle.Height = 20;
            this.txtTitle.Width = 96;
            this.txtTitle.Columns = 15;
            this.txtTitle.Text = "Title";
            this.txtTitle.ID = "txtTitle";
            this.txtTitle.MaxLength = 32767;
            this.txtTitle.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:16px;");
            // 
            // lblTitle
            // 
            this.lblTitle.Width = 26;
            this.lblTitle.ID = "lblTitle";
            this.lblTitle.Height = 16;
            this.lblTitle.Text = "Title";
            this.lblTitle.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:16px;width:26px;height:16px;");
            // 
            // txtCountry
            // 
            this.txtCountry.Height = 20;
            this.txtCountry.Width = 272;
            this.txtCountry.Columns = 42;
            this.txtCountry.Text = "Country";
            this.txtCountry.ID = "txtCountry";
            this.txtCountry.MaxLength = 32767;
            this.txtCountry.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:80px;top:114px;");
            // 
            // lblCountry
            // 
            this.lblCountry.Width = 44;
            this.lblCountry.ID = "lblCountry";
            this.lblCountry.Height = 16;
            this.lblCountry.Text = "Country";
            this.lblCountry.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:116px;width:44px;height:16px;");
            // 
            // txtRegion
            // 
            this.txtRegion.Height = 20;
            this.txtRegion.Width = 272;
            this.txtRegion.Columns = 42;
            this.txtRegion.Text = "Region";
            this.txtRegion.ID = "txtRegion";
            this.txtRegion.MaxLength = 32767;
            this.txtRegion.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:80px;top:90px;");
            // 
            // lblRegion
            // 
            this.lblRegion.Width = 40;
            this.lblRegion.ID = "lblRegion";
            this.lblRegion.Height = 16;
            this.lblRegion.Text = "Region";
            this.lblRegion.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:92px;width:40px;height:16px;");
            // 
            // txtPostalCode
            // 
            this.txtPostalCode.Height = 20;
            this.txtPostalCode.Width = 272;
            this.txtPostalCode.Columns = 42;
            this.txtPostalCode.Text = "PostalCode";
            this.txtPostalCode.ID = "txtPostalCode";
            this.txtPostalCode.MaxLength = 32767;
            this.txtPostalCode.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:80px;top:66px;");
            // 
            // lblPostalCode
            // 
            this.lblPostalCode.Width = 63;
            this.lblPostalCode.ID = "lblPostalCode";
            this.lblPostalCode.Height = 16;
            this.lblPostalCode.Text = "PostalCode";
            this.lblPostalCode.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:68px;width:63px;height:16px;");
            // 
            // txtCity
            // 
            this.txtCity.Height = 20;
            this.txtCity.Width = 272;
            this.txtCity.Columns = 42;
            this.txtCity.Text = "City";
            this.txtCity.ID = "txtCity";
            this.txtCity.MaxLength = 32767;
            this.txtCity.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:80px;top:42px;");
            // 
            // lblCity
            // 
            this.lblCity.Width = 24;
            this.lblCity.ID = "lblCity";
            this.lblCity.Height = 16;
            this.lblCity.Text = "City";
            this.lblCity.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:44px;width:24px;height:16px;");
            // 
            // txtStreet
            // 
            this.txtStreet.Height = 20;
            this.txtStreet.Width = 272;
            this.txtStreet.Columns = 42;
            this.txtStreet.Text = "Street";
            this.txtStreet.ID = "txtStreet";
            this.txtStreet.MaxLength = 32767;
            this.txtStreet.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:80px;top:18px;");
            // 
            // lblStreet
            // 
            this.lblStreet.Width = 34;
            this.lblStreet.ID = "lblStreet";
            this.lblStreet.Height = 16;
            this.lblStreet.Text = "Street";
            this.lblStreet.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:20px;width:34px;height:16px;");
            // 
            // Address
            // 
            this.Address.TagName = "div";
            this.Address.ID = "Address";
            this.Address.InnerHtml = "<fieldset style=\"width:360px; height:144px; border:1px solid\"><legend style=\"font: 8pt \'Microsoft Sans Serif\';color: #000000;\">Address</legend></fieldset>";
            this.Address.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;position: absolute;left:8px;top:120px;");
            // 
            // txtFirstName
            // 
            this.txtFirstName.Height = 20;
            this.txtFirstName.Width = 278;
            this.txtFirstName.Columns = 43;
            this.txtFirstName.Text = "FirstName";
            this.txtFirstName.ID = "txtFirstName";
            this.txtFirstName.MaxLength = 32767;
            this.txtFirstName.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:88px;");
            // 
            // lblFirstName
            // 
            this.lblFirstName.Width = 56;
            this.lblFirstName.ID = "lblFirstName";
            this.lblFirstName.Height = 16;
            this.lblFirstName.Text = "FirstName";
            this.lblFirstName.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:88px;width:56px;height:16px;");
            // 
            // txtLastName
            // 
            this.txtLastName.Height = 20;
            this.txtLastName.Width = 278;
            this.txtLastName.Columns = 43;
            this.txtLastName.Text = "LastName";
            this.txtLastName.ID = "txtLastName";
            this.txtLastName.MaxLength = 32767;
            this.txtLastName.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:64px;");
            // 
            // lblLastName
            // 
            this.lblLastName.Width = 56;
            this.lblLastName.ID = "lblLastName";
            this.lblLastName.Height = 16;
            this.lblLastName.Text = "LastName";
            this.lblLastName.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:64px;width:56px;height:16px;");
            // 
            // Name_Address_Header
            // 
            this.Name_Address_Header.ColSpan = -1;
            this.Name_Address_Header.ID = "Name_Address_Header";
            this.Name_Address_Header.NoWrap = false;
            this.Name_Address_Header.RowSpan = -1;
            this.Name_Address_Header.InnerHtml = "";
            this.Name_Address_Header.Attributes.Add("style", "");
            // 
            // Communication_Content
            // 
            this.Communication_Content.TagName = "span";
            this.Communication_Content.ID = "Communication_Content";
            this.Communication_Content.InnerHtml = "";
            this.Communication_Content.Attributes.Add("style", "");
            // 
            // txtExtension
            // 
            this.txtExtension.Height = 20;
            this.txtExtension.Width = 64;
            this.txtExtension.Columns = 10;
            this.txtExtension.Text = "Extension";
            this.txtExtension.ID = "txtExtension";
            this.txtExtension.MaxLength = 32767;
            this.txtExtension.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:304px;top:16px;");
            // 
            // txtHomeEmail
            // 
            this.txtHomeEmail.Height = 20;
            this.txtHomeEmail.Width = 176;
            this.txtHomeEmail.Columns = 27;
            this.txtHomeEmail.Text = "Home email";
            this.txtHomeEmail.ID = "txtHomeEmail";
            this.txtHomeEmail.MaxLength = 32767;
            this.txtHomeEmail.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:112px;");
            // 
            // txtHomePhone_
            // 
            this.txtHomePhone_.Height = 20;
            this.txtHomePhone_.Width = 176;
            this.txtHomePhone_.Columns = 27;
            this.txtHomePhone_.Text = "Home Phone #";
            this.txtHomePhone_.ID = "txtHomePhone_";
            this.txtHomePhone_.MaxLength = 32767;
            this.txtHomePhone_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:88px;");
            // 
            // lblpriv_Email
            // 
            this.lblpriv_Email.Width = 56;
            this.lblpriv_Email.ID = "lblpriv_Email";
            this.lblpriv_Email.Height = 16;
            this.lblpriv_Email.Text = "priv. email";
            this.lblpriv_Email.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:114px;width:56px;height:16px;");
            // 
            // lblpriv_Phone_
            // 
            this.lblpriv_Phone_.Width = 71;
            this.lblpriv_Phone_.ID = "lblpriv_Phone_";
            this.lblpriv_Phone_.Height = 16;
            this.lblpriv_Phone_.Text = "priv. Phone #";
            this.lblpriv_Phone_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:90px;width:71px;height:16px;");
            // 
            // txtWorkEmail
            // 
            this.txtWorkEmail.Height = 20;
            this.txtWorkEmail.Width = 176;
            this.txtWorkEmail.Columns = 27;
            this.txtWorkEmail.Text = "Work email";
            this.txtWorkEmail.ID = "txtWorkEmail";
            this.txtWorkEmail.MaxLength = 32767;
            this.txtWorkEmail.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:64px;");
            // 
            // txtWorkFax_
            // 
            this.txtWorkFax_.Height = 20;
            this.txtWorkFax_.Width = 176;
            this.txtWorkFax_.Columns = 27;
            this.txtWorkFax_.Text = "Work Fax #";
            this.txtWorkFax_.ID = "txtWorkFax_";
            this.txtWorkFax_.MaxLength = 32767;
            this.txtWorkFax_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:40px;");
            // 
            // lblWorkEmail
            // 
            this.lblWorkEmail.Width = 61;
            this.lblWorkEmail.ID = "lblWorkEmail";
            this.lblWorkEmail.Height = 16;
            this.lblWorkEmail.Text = "Work email";
            this.lblWorkEmail.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:66px;width:61px;height:16px;");
            // 
            // lblWorkFax_
            // 
            this.lblWorkFax_.Width = 62;
            this.lblWorkFax_.ID = "lblWorkFax_";
            this.lblWorkFax_.Height = 16;
            this.lblWorkFax_.Text = "Work Fax #";
            this.lblWorkFax_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:42px;width:62px;height:16px;");
            // 
            // txtWorkPhone_
            // 
            this.txtWorkPhone_.Height = 20;
            this.txtWorkPhone_.Width = 176;
            this.txtWorkPhone_.Columns = 27;
            this.txtWorkPhone_.Text = "Work Phone #";
            this.txtWorkPhone_.ID = "txtWorkPhone_";
            this.txtWorkPhone_.MaxLength = 32767;
            this.txtWorkPhone_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:88px;top:16px;");
            // 
            // lblWorkPhone_
            // 
            this.lblWorkPhone_.Width = 76;
            this.lblWorkPhone_.ID = "lblWorkPhone_";
            this.lblWorkPhone_.Height = 16;
            this.lblWorkPhone_.Text = "Work Phone #";
            this.lblWorkPhone_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:18px;width:76px;height:16px;");
            // 
            // lblExt_
            // 
            this.lblExt_.Width = 24;
            this.lblExt_.ID = "lblExt_";
            this.lblExt_.Height = 20;
            this.lblExt_.Text = "Ext.";
            this.lblExt_.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:272px;top:16px;width:24px;height:20px;");
            // 
            // Communication_Header
            // 
            this.Communication_Header.ColSpan = -1;
            this.Communication_Header.ID = "Communication_Header";
            this.Communication_Header.NoWrap = false;
            this.Communication_Header.RowSpan = -1;
            this.Communication_Header.InnerHtml = "";
            this.Communication_Header.Attributes.Add("style", "");
            // 
            // Security_Content
            // 
            this.Security_Content.TagName = "span";
            this.Security_Content.ID = "Security_Content";
            this.Security_Content.InnerHtml = "";
            this.Security_Content.Attributes.Add("style", "");
            // 
            // txtNotes
            // 
            this.txtNotes.Rows = 9;
            this.txtNotes.Height = 152;
            this.txtNotes.TextMode = System.Web.UI.WebControls.TextBoxMode.MultiLine;
            this.txtNotes.Width = 360;
            this.txtNotes.Columns = 56;
            this.txtNotes.Text = "Notes";
            this.txtNotes.ID = "txtNotes";
            this.txtNotes.MaxLength = 32767;
            this.txtNotes.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:8px;top:104px;");
            // 
            // txtReportsTo
            // 
            this.txtReportsTo.Height = 20;
            this.txtReportsTo.Width = 288;
            this.txtReportsTo.Columns = 45;
            this.txtReportsTo.Text = "ReportsTo";
            this.txtReportsTo.ID = "txtReportsTo";
            this.txtReportsTo.MaxLength = 32767;
            this.txtReportsTo.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:80px;top:62px;");
            // 
            // lblNotes
            // 
            this.lblNotes.Width = 56;
            this.lblNotes.ID = "lblNotes";
            this.lblNotes.Height = 16;
            this.lblNotes.Text = "Notes";
            this.lblNotes.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:88px;width:56px;height:16px;");
            // 
            // lblReportsTo
            // 
            this.lblReportsTo.Width = 72;
            this.lblReportsTo.ID = "lblReportsTo";
            this.lblReportsTo.Height = 16;
            this.lblReportsTo.Text = "ReportsTo";
            this.lblReportsTo.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:64px;width:72px;height:16px;");
            // 
            // lblHireDate
            // 
            this.lblHireDate.Width = 56;
            this.lblHireDate.ID = "lblHireDate";
            this.lblHireDate.Height = 16;
            this.lblHireDate.Text = "HireDate";
            this.lblHireDate.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:40px;width:56px;height:16px;");
            // 
            // lblBirthDate
            // 
            this.lblBirthDate.Width = 56;
            this.lblBirthDate.ID = "lblBirthDate";
            this.lblBirthDate.Height = 23;
            this.lblBirthDate.Text = "BirthDate";
            this.lblBirthDate.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:8px;width:56px;height:23px;");
            // 
            // Security_Header
            // 
            this.Security_Header.ColSpan = -1;
            this.Security_Header.ID = "Security_Header";
            this.Security_Header.NoWrap = false;
            this.Security_Header.RowSpan = -1;
            this.Security_Header.InnerHtml = "";
            this.Security_Header.Attributes.Add("style", "");
            // 
            // Picture_Content
            // 
            this.Picture_Content.TagName = "span";
            this.Picture_Content.ID = "Picture_Content";
            this.Picture_Content.InnerHtml = "";
            this.Picture_Content.Attributes.Add("style", "");
            // 
            // picPictureBox1
            // 
            this.picPictureBox1.ID = "picPictureBox1";
            this.picPictureBox1.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;border:none;position: absolute;left:48px;top:40px;");
            // 
            // txtPhotoPath
            // 
            this.txtPhotoPath.Height = 20;
            this.txtPhotoPath.Width = 304;
            this.txtPhotoPath.Columns = 47;
            this.txtPhotoPath.Text = "PhotoPath";
            this.txtPhotoPath.ID = "txtPhotoPath";
            this.txtPhotoPath.MaxLength = 32767;
            this.txtPhotoPath.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;background-color: #ffffc0;text-align:left;border:2 solid black;position: absolute;left:64px;top:6px;");
            // 
            // lblPhotoPath
            // 
            this.lblPhotoPath.Width = 64;
            this.lblPhotoPath.ID = "lblPhotoPath";
            this.lblPhotoPath.Height = 16;
            this.lblPhotoPath.Text = "PhotoPath";
            this.lblPhotoPath.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;text-align:left;vertical-align:middle;border:none;position: absolute;left:8px;top:8px;width:64px;height:16px;");
            // 
            // Picture_Header
            // 
            this.Picture_Header.ColSpan = -1;
            this.Picture_Header.ID = "Picture_Header";
            this.Picture_Header.NoWrap = false;
            this.Picture_Header.RowSpan = -1;
            this.Picture_Header.InnerHtml = "";
            this.Picture_Header.Attributes.Add("style", "");
            // 
            // tabTabControl1_HeaderFill
            // 
            this.tabTabControl1_HeaderFill.ColSpan = -1;
            this.tabTabControl1_HeaderFill.Width = "100%";
            this.tabTabControl1_HeaderFill.ID = "tabTabControl1_HeaderFill";
            this.tabTabControl1_HeaderFill.NoWrap = false;
            this.tabTabControl1_HeaderFill.RowSpan = -1;
            this.tabTabControl1_HeaderFill.InnerHtml = "&nbsp;";
            this.tabTabControl1_HeaderFill.Attributes.Add("style", "font:8pt \'[FontFamily: Name=Microsoft Sans Serif]\'; BORDER-BOTTOM:1px #000000 solid;");
            // 
            // tabTabControl1
            // 
            this.tabTabControl1.TagName = "div";
            this.tabTabControl1.ID = "tabTabControl1";
            this.tabTabControl1.InnerHtml = "";
            this.tabTabControl1.Attributes.Add("style", "font: 8pt \'Microsoft Sans Serif\';color: #000000;position: absolute;left:8px;top:40px;width:384px;height:288px;");
            // 
            // Name_Address_Button
            // 
            this.Name_Address_Button.ID = "Name_Address_Button";
            this.Name_Address_Button.InnerHtml = "";
            this.Name_Address_Button.Attributes.Add("style", "");
            // 
            // Communication_Button
            // 
            this.Communication_Button.ID = "Communication_Button";
            this.Communication_Button.InnerHtml = "";
            this.Communication_Button.Attributes.Add("style", "");
            // 
            // Security_Button
            // 
            this.Security_Button.ID = "Security_Button";
            this.Security_Button.InnerHtml = "";
            this.Security_Button.Attributes.Add("style", "");
            // 
            // Picture_Button
            // 
            this.Picture_Button.ID = "Picture_Button";
            this.Picture_Button.InnerHtml = "";
            this.Picture_Button.Attributes.Add("style", "");
            // 
            // add controls to UserControl
            // 
            this.Controls.Add(this.txtEmployeeID);
            this.Controls.Add(this.lblEmployeeID);
            this.Controls.Add(this.Name_Address_Content);
            this.Controls.Add(this.Communication_Content);
            this.Controls.Add(this.Security_Content);
            this.Controls.Add(this.Picture_Content);
            this.Controls.Add(this.tabTabControl1);
            this.Controls.Add(this.Name_Address_Button);
            this.Controls.Add(this.Communication_Button);
            this.Controls.Add(this.Security_Button);
            this.Controls.Add(this.Picture_Button);
            // 
            // add controls to tabTabControl1_Table
            // 
            this.tabTabControl1_Table.Controls.Add(this.tabTabControl1_TableRow);
            // 
            // add controls to tabTabControl1_TableRow
            // 
            this.tabTabControl1_TableRow.Controls.Add(this.Name_Address_Header);
            this.tabTabControl1_TableRow.Controls.Add(this.Communication_Header);
            this.tabTabControl1_TableRow.Controls.Add(this.Security_Header);
            this.tabTabControl1_TableRow.Controls.Add(this.Picture_Header);
            this.tabTabControl1_TableRow.Controls.Add(this.tabTabControl1_HeaderFill);
            // 
            // add controls to Name_Address_Content
            // 
            this.Name_Address_Content.Controls.Add(this.txtTitleOfCourtesy);
            this.Name_Address_Content.Controls.Add(this.lblTitleOfCourtesy);
            this.Name_Address_Content.Controls.Add(this.txtTitle);
            this.Name_Address_Content.Controls.Add(this.lblTitle);
            this.Name_Address_Content.Controls.Add(this.Address);
            this.Name_Address_Content.Controls.Add(this.txtFirstName);
            this.Name_Address_Content.Controls.Add(this.lblFirstName);
            this.Name_Address_Content.Controls.Add(this.txtLastName);
            this.Name_Address_Content.Controls.Add(this.lblLastName);
            // 
            // add controls to Address
            // 
            this.Address.Controls.Add(this.txtCountry);
            this.Address.Controls.Add(this.lblCountry);
            this.Address.Controls.Add(this.txtRegion);
            this.Address.Controls.Add(this.lblRegion);
            this.Address.Controls.Add(this.txtPostalCode);
            this.Address.Controls.Add(this.lblPostalCode);
            this.Address.Controls.Add(this.txtCity);
            this.Address.Controls.Add(this.lblCity);
            this.Address.Controls.Add(this.txtStreet);
            this.Address.Controls.Add(this.lblStreet);
            // 
            // add controls to Communication_Content
            // 
            this.Communication_Content.Controls.Add(this.txtExtension);
            this.Communication_Content.Controls.Add(this.txtHomeEmail);
            this.Communication_Content.Controls.Add(this.txtHomePhone_);
            this.Communication_Content.Controls.Add(this.lblpriv_Email);
            this.Communication_Content.Controls.Add(this.lblpriv_Phone_);
            this.Communication_Content.Controls.Add(this.txtWorkEmail);
            this.Communication_Content.Controls.Add(this.txtWorkFax_);
            this.Communication_Content.Controls.Add(this.lblWorkEmail);
            this.Communication_Content.Controls.Add(this.lblWorkFax_);
            this.Communication_Content.Controls.Add(this.txtWorkPhone_);
            this.Communication_Content.Controls.Add(this.lblWorkPhone_);
            this.Communication_Content.Controls.Add(this.lblExt_);
            // 
            // add controls to Security_Content
            // 
            this.Security_Content.Controls.Add(this.txtNotes);
            this.Security_Content.Controls.Add(this.txtReportsTo);
            this.Security_Content.Controls.Add(this.lblNotes);
            this.Security_Content.Controls.Add(this.lblReportsTo);
            this.Security_Content.Controls.Add(this.lblHireDate);
            this.Security_Content.Controls.Add(this.lblBirthDate);
            // 
            // add controls to Picture_Content
            // 
            this.Picture_Content.Controls.Add(this.picPictureBox1);
            this.Picture_Content.Controls.Add(this.txtPhotoPath);
            this.Picture_Content.Controls.Add(this.lblPhotoPath);
            // 
            // add controls to tabTabControl1
            // 
            this.tabTabControl1.Controls.Add(this.tabTabControl1_Table);
            this.InitializeTabControl();
        } // end private void Page_Load(object sender, System.EventArgs e)
        #endregion
        #region void InitializeTabControl()
        private void InitializeTabControl()
        {
            this.Name_Address_Header.InnerHtml = "&nbsp;Name/Address&nbsp;";
            this.Name_Address_Header.Attributes.Add("style", this.GetHeaderStyle(true, false));
            this.Communication_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Security_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Picture_Header.Attributes.Add("style", this.GetHeaderStyle(false, true));
            // 
            // Name_Address_Button
            // 
            if((this.Name_Address_Button == null))
            {
                this.Name_Address_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            } // end if((this.Name_Address_Button == null))
            this.Name_Address_Button.ID = "Name_Address_Button";
            this.Name_Address_Button.InnerHtml = "&nbsp;Name/Address&nbsp;";
            this.Name_Address_Button.Visible = false;
            this.Name_Address_Button.Attributes.Add("style", this.GetCommandStyle());
            // 
            // Communication_Button
            // 
            if((this.Communication_Button == null))
            {
                this.Communication_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            } // end if((this.Communication_Button == null))
            this.Communication_Button.ID = "Communication_Button";
            this.Communication_Button.InnerHtml = "&nbsp;Communication&nbsp;";
            this.Communication_Button.Attributes.Add("style", this.GetCommandStyle());
            // 
            // Security_Button
            // 
            if((this.Security_Button == null))
            {
                this.Security_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            } // end if((this.Security_Button == null))
            this.Security_Button.ID = "Security_Button";
            this.Security_Button.InnerHtml = "&nbsp;Security&nbsp;";
            this.Security_Button.Attributes.Add("style", this.GetCommandStyle());
            // 
            // Picture_Button
            // 
            if((this.Picture_Button == null))
            {
                this.Picture_Button = new System.Web.UI.HtmlControls.HtmlAnchor();
            } // end if((this.Picture_Button == null))
            this.Picture_Button.ID = "Picture_Button";
            this.Picture_Button.InnerHtml = "&nbsp;Picture&nbsp;";
            this.Picture_Button.Attributes.Add("style", this.GetCommandStyle());
            // 
            // create event listener to HtmlAnchor
            // 
            this.Name_Address_Button.ServerClick += new System.EventHandler(this.OnName_Address_ButtonClick);
            this.Communication_Button.ServerClick += new System.EventHandler(this.OnCommunication_ButtonClick);
            this.Security_Button.ServerClick += new System.EventHandler(this.OnSecurity_ButtonClick);
            this.Picture_Button.ServerClick += new System.EventHandler(this.OnPicture_ButtonClick);
            // 
            // add HtmlAnchor to header
            // 
            this.Name_Address_Header.Controls.Add(this.Name_Address_Button);
            this.Communication_Header.Controls.Add(this.Communication_Button);
            this.Security_Header.Controls.Add(this.Security_Button);
            this.Picture_Header.Controls.Add(this.Picture_Button);
            // 
            // hide TabPage Content and set style
            // 
            this.Name_Address_Content.Visible = true;
            this.Communication_Content.Visible = false;
            this.Security_Content.Visible = false;
            this.Picture_Content.Visible = false;
            this.Name_Address_Content.Attributes.Add("style", this.GetContentStyle(true));
            this.Communication_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Security_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Picture_Content.Attributes.Add("style", this.GetContentStyle(false));
        } // end private void InitializeTabControl()
        #endregion
        #region void OnName_Address_ButtonClick(object sender, System.EventArgs e)
        private void OnName_Address_ButtonClick(object sender, System.EventArgs e)
        {
            // 
            // set visibility and style for Name_Address
            // 
            this.Name_Address_Header.Controls.Clear();
            this.Name_Address_Header.InnerHtml = "&nbsp;Name/Address&nbsp;";
            this.Name_Address_Header.Attributes.Add("style", this.GetHeaderStyle(true, false));
            this.Name_Address_Button.Visible = false;
            // 
            // set visibility and style for Communication
            // 
            this.Communication_Header.Controls.Clear();
            this.Communication_Header.InnerHtml = "";
            this.Communication_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Communication_Button.InnerHtml = "&nbsp;Communication&nbsp;";
            this.Communication_Button.Visible = true;
            // 
            // set visibility and style for Security
            // 
            this.Security_Header.Controls.Clear();
            this.Security_Header.InnerHtml = "";
            this.Security_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Security_Button.InnerHtml = "&nbsp;Security&nbsp;";
            this.Security_Button.Visible = true;
            // 
            // set visibility and style for Picture
            // 
            this.Picture_Header.Controls.Clear();
            this.Picture_Header.InnerHtml = "";
            this.Picture_Header.Attributes.Add("style", this.GetHeaderStyle(false, true));
            this.Picture_Button.InnerHtml = "&nbsp;Picture&nbsp;";
            this.Picture_Button.Visible = true;
            // 
            // add HtmlAnchor to header
            // 
            this.Communication_Header.Controls.Add(this.Communication_Button);
            this.Security_Header.Controls.Add(this.Security_Button);
            this.Picture_Header.Controls.Add(this.Picture_Button);
            // 
            // hide TabPage Content and set style
            // 
            this.Name_Address_Content.Visible = true;
            this.Communication_Content.Visible = false;
            this.Security_Content.Visible = false;
            this.Picture_Content.Visible = false;
            this.Name_Address_Content.Attributes.Add("style", this.GetContentStyle(true));
            this.Communication_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Security_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Picture_Content.Attributes.Add("style", this.GetContentStyle(false));
        } // end private void OnName_Address_ButtonClick(object sender, System.EventArgs e)
        #endregion
        #region void OnCommunication_ButtonClick(object sender, System.EventArgs e)
        private void OnCommunication_ButtonClick(object sender, System.EventArgs e)
        {
            // 
            // set visibility and style for Name_Address
            // 
            this.Name_Address_Header.Controls.Clear();
            this.Name_Address_Header.InnerHtml = "";
            this.Name_Address_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Name_Address_Button.InnerHtml = "&nbsp;Name/Address&nbsp;";
            this.Name_Address_Button.Visible = true;
            // 
            // set visibility and style for Communication
            // 
            this.Communication_Header.Controls.Clear();
            this.Communication_Header.InnerHtml = "&nbsp;Communication&nbsp;";
            this.Communication_Header.Attributes.Add("style", this.GetHeaderStyle(true, false));
            this.Communication_Button.Visible = false;
            // 
            // set visibility and style for Security
            // 
            this.Security_Header.Controls.Clear();
            this.Security_Header.InnerHtml = "";
            this.Security_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Security_Button.InnerHtml = "&nbsp;Security&nbsp;";
            this.Security_Button.Visible = true;
            // 
            // set visibility and style for Picture
            // 
            this.Picture_Header.Controls.Clear();
            this.Picture_Header.InnerHtml = "";
            this.Picture_Header.Attributes.Add("style", this.GetHeaderStyle(false, true));
            this.Picture_Button.InnerHtml = "&nbsp;Picture&nbsp;";
            this.Picture_Button.Visible = true;
            // 
            // add HtmlAnchor to header
            // 
            this.Name_Address_Header.Controls.Add(this.Name_Address_Button);
            this.Security_Header.Controls.Add(this.Security_Button);
            this.Picture_Header.Controls.Add(this.Picture_Button);
            // 
            // hide TabPage Content and set style
            // 
            this.Name_Address_Content.Visible = false;
            this.Communication_Content.Visible = true;
            this.Security_Content.Visible = false;
            this.Picture_Content.Visible = false;
            this.Name_Address_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Communication_Content.Attributes.Add("style", this.GetContentStyle(true));
            this.Security_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Picture_Content.Attributes.Add("style", this.GetContentStyle(false));
        } // end private void OnCommunication_ButtonClick(object sender, System.EventArgs e)
        #endregion
        #region void OnSecurity_ButtonClick(object sender, System.EventArgs e)
        private void OnSecurity_ButtonClick(object sender, System.EventArgs e)
        {
            // 
            // set visibility and style for Name_Address
            // 
            this.Name_Address_Header.Controls.Clear();
            this.Name_Address_Header.InnerHtml = "";
            this.Name_Address_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Name_Address_Button.InnerHtml = "&nbsp;Name/Address&nbsp;";
            this.Name_Address_Button.Visible = true;
            // 
            // set visibility and style for Communication
            // 
            this.Communication_Header.Controls.Clear();
            this.Communication_Header.InnerHtml = "";
            this.Communication_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Communication_Button.InnerHtml = "&nbsp;Communication&nbsp;";
            this.Communication_Button.Visible = true;
            // 
            // set visibility and style for Security
            // 
            this.Security_Header.Controls.Clear();
            this.Security_Header.InnerHtml = "&nbsp;Security&nbsp;";
            this.Security_Header.Attributes.Add("style", this.GetHeaderStyle(true, false));
            this.Security_Button.Visible = false;
            // 
            // set visibility and style for Picture
            // 
            this.Picture_Header.Controls.Clear();
            this.Picture_Header.InnerHtml = "";
            this.Picture_Header.Attributes.Add("style", this.GetHeaderStyle(false, true));
            this.Picture_Button.InnerHtml = "&nbsp;Picture&nbsp;";
            this.Picture_Button.Visible = true;
            // 
            // add HtmlAnchor to header
            // 
            this.Name_Address_Header.Controls.Add(this.Name_Address_Button);
            this.Communication_Header.Controls.Add(this.Communication_Button);
            this.Picture_Header.Controls.Add(this.Picture_Button);
            // 
            // hide TabPage Content and set style
            // 
            this.Name_Address_Content.Visible = false;
            this.Communication_Content.Visible = false;
            this.Security_Content.Visible = true;
            this.Picture_Content.Visible = false;
            this.Name_Address_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Communication_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Security_Content.Attributes.Add("style", this.GetContentStyle(true));
            this.Picture_Content.Attributes.Add("style", this.GetContentStyle(false));
        } // end private void OnSecurity_ButtonClick(object sender, System.EventArgs e)
        #endregion
        #region void OnPicture_ButtonClick(object sender, System.EventArgs e)
        private void OnPicture_ButtonClick(object sender, System.EventArgs e)
        {
            // 
            // set visibility and style for Name_Address
            // 
            this.Name_Address_Header.Controls.Clear();
            this.Name_Address_Header.InnerHtml = "";
            this.Name_Address_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Name_Address_Button.InnerHtml = "&nbsp;Name/Address&nbsp;";
            this.Name_Address_Button.Visible = true;
            // 
            // set visibility and style for Communication
            // 
            this.Communication_Header.Controls.Clear();
            this.Communication_Header.InnerHtml = "";
            this.Communication_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Communication_Button.InnerHtml = "&nbsp;Communication&nbsp;";
            this.Communication_Button.Visible = true;
            // 
            // set visibility and style for Security
            // 
            this.Security_Header.Controls.Clear();
            this.Security_Header.InnerHtml = "";
            this.Security_Header.Attributes.Add("style", this.GetHeaderStyle(false, false));
            this.Security_Button.InnerHtml = "&nbsp;Security&nbsp;";
            this.Security_Button.Visible = true;
            // 
            // set visibility and style for Picture
            // 
            this.Picture_Header.Controls.Clear();
            this.Picture_Header.InnerHtml = "&nbsp;Picture&nbsp;";
            this.Picture_Header.Attributes.Add("style", this.GetHeaderStyle(true, true));
            this.Picture_Button.Visible = false;
            // 
            // add HtmlAnchor to header
            // 
            this.Name_Address_Header.Controls.Add(this.Name_Address_Button);
            this.Communication_Header.Controls.Add(this.Communication_Button);
            this.Security_Header.Controls.Add(this.Security_Button);
            // 
            // hide TabPage Content and set style
            // 
            this.Name_Address_Content.Visible = false;
            this.Communication_Content.Visible = false;
            this.Security_Content.Visible = false;
            this.Picture_Content.Visible = true;
            this.Name_Address_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Communication_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Security_Content.Attributes.Add("style", this.GetContentStyle(false));
            this.Picture_Content.Attributes.Add("style", this.GetContentStyle(true));
        } // end private void OnPicture_ButtonClick(object sender, System.EventArgs e)
        #endregion
        #region string GetCommandStyle()
        private string GetCommandStyle()
        {
            System.Text.StringBuilder stringBuilder;
            stringBuilder = new System.Text.StringBuilder();
            stringBuilder.AppendFormat("{0}:{1}; ", "TEXT-DECORATION", "none");
            stringBuilder.AppendFormat("{0}:{1}; ", "COLOR", BORDER_COLOR_ON);
            return stringBuilder.ToString();
        } // end private string GetCommandStyle()
        #endregion
        #region string GetContentStyle(bool visible)
        private string GetContentStyle(bool visible)
        {
            System.Text.StringBuilder stringBuilder;
            stringBuilder = new System.Text.StringBuilder();
            stringBuilder.AppendFormat("POSITION:{0}; ", "absolute");
            stringBuilder.AppendFormat("TOP:{0}; ", "62px");
            stringBuilder.AppendFormat("LEFT:{0}; ", "8px");
            stringBuilder.AppendFormat("WIDTH:{0}; ", "384px");
            stringBuilder.AppendFormat("HEIGHT:{0}; ", "274px");
            stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-LEFT", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-BOTTOM", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-RIGHT", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            if(visible)
            {
                stringBuilder.AppendFormat("VISIBILITY:{0}; ", "visible");
            } // end if(visible)
            else
            {
                stringBuilder.AppendFormat("VISIBILITY:{0}; ", "hidden");
            } // end else if(visible)
            return stringBuilder.ToString();
        } // end private string GetContentStyle(bool visible)
        #endregion
        #region string GetHeaderStyle(bool active, bool last)
        private string GetHeaderStyle(bool active, bool last)
        {
            System.Text.StringBuilder stringBuilder;
            stringBuilder = new System.Text.StringBuilder();
            stringBuilder.AppendFormat("{0}:{1}; ", "FONT", "8pt \'[FontFamily: Name=Microsoft Sans Serif]\'");
            stringBuilder.AppendFormat("{0}:{1}; ", "white-space", "nowrap");
            if(last)
            {
                stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-RIGHT", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            } // end if(last)
            else
            {
                stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-RIGHT", BORDER_COLOR_OFF, BORDER_WIDTH, BORDER_STYLE_ON);
            } // end else if(last)
            stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-TOP", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-LEFT", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            if(active)
            {
                stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-BOTTOM", BORDER_COLOR_OFF, BORDER_WIDTH, BORDER_STYLE_ON);
            } // end if(active)
            else
            {
                stringBuilder.AppendFormat("{0}:{1} {2} {3}; ", "BORDER-BOTTOM", BORDER_COLOR_ON, BORDER_WIDTH, BORDER_STYLE_ON);
            } // end else if(active)
            return stringBuilder.ToString();
        } // end private string GetHeaderStyle(bool active, bool last)
        #endregion
        #region void InitializeDataSource(suite4.net.Northwind.EmployeesRow dataEmployeesRow)
        public virtual void InitializeDataSource(suite4.net.Northwind.EmployeesRow dataEmployeesRow)
        {
            if((dataEmployeesRow != null))
            {
                this.txtEmployeeID.Text = dataEmployeesRow.EmployeeID.ToString();
                this.txtTitleOfCourtesy.Text = dataEmployeesRow.TitleOfCourtesy;
                this.txtTitle.Text = dataEmployeesRow.Title;
                this.txtCountry.Text = dataEmployeesRow.Country;
                this.txtRegion.Text = dataEmployeesRow.Region;
                this.txtPostalCode.Text = dataEmployeesRow.PostalCode;
                this.txtCity.Text = dataEmployeesRow.City;
                this.txtStreet.Text = dataEmployeesRow.Address;
                this.txtFirstName.Text = dataEmployeesRow.FirstName;
                this.txtLastName.Text = dataEmployeesRow.LastName;
                this.txtExtension.Text = dataEmployeesRow.Extension;
                this.txtHomeEmail.Text = dataEmployeesRow.HomePhone;
                this.txtHomePhone_.Text = dataEmployeesRow.HomePhone;
                this.txtWorkEmail.Text = dataEmployeesRow.HomePhone;
                this.txtWorkFax_.Text = dataEmployeesRow.HomePhone;
                this.txtWorkPhone_.Text = dataEmployeesRow.HomePhone;
                this.txtNotes.Text = dataEmployeesRow.Notes;
                this.txtReportsTo.Text = dataEmployeesRow.ReportsTo.ToString();
                this.txtPhotoPath.Text = dataEmployeesRow.PhotoPath;
            } // end if((dataEmployeesRow != null))
        } // end public virtual void InitializeDataSource(suite4.net.Northwind.EmployeesRow dataEmployeesRow)
        #endregion
        #region void Save(suite4.net.Northwind.EmployeesRow dataEmployeesRow)
        public virtual void Save(suite4.net.Northwind.EmployeesRow dataEmployeesRow)
        {
            if((dataEmployeesRow != null))
            {
                try
                {
                    dataEmployeesRow.EmployeeID = int.Parse(this.txtEmployeeID.Text);
                } // end try
                catch(System.Exception ex)
                {
                    // Please tpye your own Exception messages here.
                } // end catch(System.Exception ex)
                dataEmployeesRow.TitleOfCourtesy = this.txtTitleOfCourtesy.Text;
                dataEmployeesRow.Title = this.txtTitle.Text;
                dataEmployeesRow.Country = this.txtCountry.Text;
                dataEmployeesRow.Region = this.txtRegion.Text;
                dataEmployeesRow.PostalCode = this.txtPostalCode.Text;
                dataEmployeesRow.City = this.txtCity.Text;
                dataEmployeesRow.Address = this.txtStreet.Text;
                dataEmployeesRow.FirstName = this.txtFirstName.Text;
                dataEmployeesRow.LastName = this.txtLastName.Text;
                dataEmployeesRow.Extension = this.txtExtension.Text;
                dataEmployeesRow.HomePhone = this.txtHomeEmail.Text;
                dataEmployeesRow.HomePhone = this.txtHomePhone_.Text;
                dataEmployeesRow.HomePhone = this.txtWorkEmail.Text;
                dataEmployeesRow.HomePhone = this.txtWorkFax_.Text;
                dataEmployeesRow.HomePhone = this.txtWorkPhone_.Text;
                dataEmployeesRow.Notes = this.txtNotes.Text;
                try
                {
                    dataEmployeesRow.ReportsTo = int.Parse(this.txtReportsTo.Text);
                } // end try
                catch(System.Exception ex)
                {
                    // Please tpye your own Exception messages here.
                } // end catch(System.Exception ex)
                dataEmployeesRow.PhotoPath = this.txtPhotoPath.Text;
            } // end if((dataEmployeesRow != null))
        } // end public virtual void Save(suite4.net.Northwind.EmployeesRow dataEmployeesRow)
        #endregion
    } // end public class ScreenShots
} // end namespace suite4.net