Пример #1
0
        public override DataSet Clone()
        {
            CountryDS cln = ((CountryDS)(base.Clone()));

            cln.InitVars();
            return(cln);
        }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(dlgCarrierDetail));
     this._lblName       = new System.Windows.Forms.Label();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.btnOk          = new System.Windows.Forms.Button();
     this.chkCtlTrailers = new System.Windows.Forms.CheckBox();
     this.chkCtlDrivers  = new System.Windows.Forms.CheckBox();
     this._lbleMail      = new System.Windows.Forms.Label();
     this.txteMail       = new System.Windows.Forms.TextBox();
     this.fraAddress     = new System.Windows.Forms.GroupBox();
     this._lblCountry    = new System.Windows.Forms.Label();
     this.cboCountries   = new System.Windows.Forms.ComboBox();
     this.mCountriesDS   = new Tsort.Enterprise.CountryDS();
     this._lblZip        = new System.Windows.Forms.Label();
     this.txtZip         = new System.Windows.Forms.TextBox();
     this._lblCity       = new System.Windows.Forms.Label();
     this.txtCity        = new System.Windows.Forms.TextBox();
     this._lblState      = new System.Windows.Forms.Label();
     this.cboStates      = new System.Windows.Forms.ComboBox();
     this.mStatesDS      = new Tsort.Enterprise.StateDS();
     this._lblLine2      = new System.Windows.Forms.Label();
     this.txtLine2       = new System.Windows.Forms.TextBox();
     this._lblLine1      = new System.Windows.Forms.Label();
     this.txtLine1       = new System.Windows.Forms.TextBox();
     this._lblExt        = new System.Windows.Forms.Label();
     this.txtExt         = new System.Windows.Forms.TextBox();
     this._lblContact    = new System.Windows.Forms.Label();
     this.txtContact     = new System.Windows.Forms.TextBox();
     this.lblPhone       = new System.Windows.Forms.Label();
     this.mskFax         = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
     this.chkStatus      = new System.Windows.Forms.CheckBox();
     this._lblNumber     = new System.Windows.Forms.Label();
     this.txtNumber      = new System.Windows.Forms.TextBox();
     this.txtName        = new System.Windows.Forms.TextBox();
     this._lblFax        = new System.Windows.Forms.Label();
     this.mskPhone       = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
     this.mCarriersDS    = new Tsort.Transportation.CarrierDS();
     this.tabDialog      = new System.Windows.Forms.TabControl();
     this.tabGeneral     = new System.Windows.Forms.TabPage();
     this.fraContact     = new System.Windows.Forms.GroupBox();
     this.tabTrans       = new System.Windows.Forms.TabPage();
     this.fraControl     = new System.Windows.Forms.GroupBox();
     this._lblControl    = new System.Windows.Forms.Label();
     this.fraAddress.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mCountriesDS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mStatesDS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mCarriersDS)).BeginInit();
     this.tabDialog.SuspendLayout();
     this.tabGeneral.SuspendLayout();
     this.fraContact.SuspendLayout();
     this.tabTrans.SuspendLayout();
     this.fraControl.SuspendLayout();
     this.SuspendLayout();
     //
     // _lblName
     //
     this._lblName.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblName.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblName.Location   = new System.Drawing.Point(174, 12);
     this._lblName.Name       = "_lblName";
     this._lblName.Size       = new System.Drawing.Size(72, 18);
     this._lblName.TabIndex   = 13;
     this._lblName.Text       = "Name";
     this._lblName.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnCancel
     //
     this.btnCancel.BackColor    = System.Drawing.SystemColors.Control;
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(375, 330);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(96, 24);
     this.btnCancel.TabIndex     = 0;
     this.btnCancel.Text         = "&Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.OnCmdClick);
     //
     // btnOk
     //
     this.btnOk.BackColor = System.Drawing.SystemColors.Control;
     this.btnOk.Enabled   = false;
     this.btnOk.Location  = new System.Drawing.Point(273, 330);
     this.btnOk.Name      = "btnOk";
     this.btnOk.Size      = new System.Drawing.Size(96, 24);
     this.btnOk.TabIndex  = 2;
     this.btnOk.Text      = "&OK";
     this.btnOk.Click    += new System.EventHandler(this.OnCmdClick);
     //
     // chkCtlTrailers
     //
     this.chkCtlTrailers.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkCtlTrailers.Location        = new System.Drawing.Point(12, 54);
     this.chkCtlTrailers.Name            = "chkCtlTrailers";
     this.chkCtlTrailers.Size            = new System.Drawing.Size(126, 18);
     this.chkCtlTrailers.TabIndex        = 16;
     this.chkCtlTrailers.Text            = "Control Trailers";
     this.chkCtlTrailers.CheckedChanged += new System.EventHandler(this.ValidateForm);
     //
     // chkCtlDrivers
     //
     this.chkCtlDrivers.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkCtlDrivers.Location        = new System.Drawing.Point(12, 24);
     this.chkCtlDrivers.Name            = "chkCtlDrivers";
     this.chkCtlDrivers.Size            = new System.Drawing.Size(120, 18);
     this.chkCtlDrivers.TabIndex        = 15;
     this.chkCtlDrivers.Text            = "Control Drivers";
     this.chkCtlDrivers.CheckedChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lbleMail
     //
     this._lbleMail.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lbleMail.Location   = new System.Drawing.Point(3, 69);
     this._lbleMail.Name       = "_lbleMail";
     this._lbleMail.Size       = new System.Drawing.Size(72, 18);
     this._lbleMail.TabIndex   = 30;
     this._lbleMail.Text       = "eMail";
     this._lbleMail.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txteMail
     //
     this.txteMail.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txteMail.Location     = new System.Drawing.Point(81, 69);
     this.txteMail.Name         = "txteMail";
     this.txteMail.Size         = new System.Drawing.Size(192, 21);
     this.txteMail.TabIndex     = 6;
     this.txteMail.Text         = "";
     this.txteMail.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // fraAddress
     //
     this.fraAddress.Controls.Add(this._lblCountry);
     this.fraAddress.Controls.Add(this.cboCountries);
     this.fraAddress.Controls.Add(this._lblZip);
     this.fraAddress.Controls.Add(this.txtZip);
     this.fraAddress.Controls.Add(this._lblCity);
     this.fraAddress.Controls.Add(this.txtCity);
     this.fraAddress.Controls.Add(this._lblState);
     this.fraAddress.Controls.Add(this.cboStates);
     this.fraAddress.Controls.Add(this._lblLine2);
     this.fraAddress.Controls.Add(this.txtLine2);
     this.fraAddress.Controls.Add(this._lblLine1);
     this.fraAddress.Controls.Add(this.txtLine1);
     this.fraAddress.Location = new System.Drawing.Point(6, 39);
     this.fraAddress.Name     = "fraAddress";
     this.fraAddress.Size     = new System.Drawing.Size(447, 120);
     this.fraAddress.TabIndex = 2;
     this.fraAddress.TabStop  = false;
     this.fraAddress.Text     = "Mailing Address";
     //
     // _lblCountry
     //
     this._lblCountry.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblCountry.Location  = new System.Drawing.Point(261, 93);
     this._lblCountry.Name      = "_lblCountry";
     this._lblCountry.Size      = new System.Drawing.Size(54, 18);
     this._lblCountry.TabIndex  = 31;
     this._lblCountry.Text      = "Country";
     this._lblCountry.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboCountries
     //
     this.cboCountries.DataSource            = this.mCountriesDS;
     this.cboCountries.DisplayMember         = "CountryDetailTable.Country";
     this.cboCountries.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboCountries.ForeColor             = System.Drawing.SystemColors.ControlText;
     this.cboCountries.Location              = new System.Drawing.Point(318, 93);
     this.cboCountries.Name                  = "cboCountries";
     this.cboCountries.Size                  = new System.Drawing.Size(120, 21);
     this.cboCountries.TabIndex              = 3;
     this.cboCountries.ValueMember           = "CountryDetailTable.CountryID";
     this.cboCountries.SelectedValueChanged += new System.EventHandler(this.OnCountryChanged);
     this.cboCountries.SelectedIndexChanged += new System.EventHandler(this.ValidateForm);
     //
     // mCountriesDS
     //
     this.mCountriesDS.DataSetName = "CountryDS";
     this.mCountriesDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // _lblZip
     //
     this._lblZip.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblZip.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblZip.Location   = new System.Drawing.Point(147, 93);
     this._lblZip.Name       = "_lblZip";
     this._lblZip.Size       = new System.Drawing.Size(24, 18);
     this._lblZip.TabIndex   = 29;
     this._lblZip.Text       = "Zip";
     this._lblZip.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtZip
     //
     this.txtZip.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtZip.Location     = new System.Drawing.Point(177, 93);
     this.txtZip.MaxLength    = 5;
     this.txtZip.Name         = "txtZip";
     this.txtZip.Size         = new System.Drawing.Size(72, 21);
     this.txtZip.TabIndex     = 5;
     this.txtZip.Text         = "";
     this.txtZip.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblCity
     //
     this._lblCity.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblCity.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblCity.Location   = new System.Drawing.Point(27, 69);
     this._lblCity.Name       = "_lblCity";
     this._lblCity.Size       = new System.Drawing.Size(48, 18);
     this._lblCity.TabIndex   = 28;
     this._lblCity.Text       = "City";
     this._lblCity.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtCity
     //
     this.txtCity.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtCity.Location     = new System.Drawing.Point(81, 69);
     this.txtCity.Name         = "txtCity";
     this.txtCity.Size         = new System.Drawing.Size(168, 21);
     this.txtCity.TabIndex     = 2;
     this.txtCity.Text         = "";
     this.txtCity.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblState
     //
     this._lblState.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblState.Location  = new System.Drawing.Point(33, 93);
     this._lblState.Name      = "_lblState";
     this._lblState.Size      = new System.Drawing.Size(48, 18);
     this._lblState.TabIndex  = 20;
     this._lblState.Text      = "State";
     this._lblState.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboStates
     //
     this.cboStates.DataSource            = this.mStatesDS;
     this.cboStates.DisplayMember         = "StateListTable.STATE";
     this.cboStates.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboStates.ForeColor             = System.Drawing.SystemColors.ControlText;
     this.cboStates.Location              = new System.Drawing.Point(81, 93);
     this.cboStates.Name                  = "cboStates";
     this.cboStates.Size                  = new System.Drawing.Size(60, 21);
     this.cboStates.TabIndex              = 4;
     this.cboStates.ValueMember           = "StateListTable.STATE";
     this.cboStates.SelectedIndexChanged += new System.EventHandler(this.ValidateForm);
     //
     // mStatesDS
     //
     this.mStatesDS.DataSetName = "StateDS";
     this.mStatesDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // _lblLine2
     //
     this._lblLine2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblLine2.Location   = new System.Drawing.Point(27, 45);
     this._lblLine2.Name       = "_lblLine2";
     this._lblLine2.Size       = new System.Drawing.Size(48, 18);
     this._lblLine2.TabIndex   = 27;
     this._lblLine2.Text       = "Line 2";
     this._lblLine2.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtLine2
     //
     this.txtLine2.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtLine2.Location     = new System.Drawing.Point(81, 45);
     this.txtLine2.Name         = "txtLine2";
     this.txtLine2.Size         = new System.Drawing.Size(270, 21);
     this.txtLine2.TabIndex     = 1;
     this.txtLine2.Text         = "";
     this.txtLine2.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblLine1
     //
     this._lblLine1.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblLine1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblLine1.Location   = new System.Drawing.Point(27, 21);
     this._lblLine1.Name       = "_lblLine1";
     this._lblLine1.Size       = new System.Drawing.Size(48, 18);
     this._lblLine1.TabIndex   = 26;
     this._lblLine1.Text       = "Line 1";
     this._lblLine1.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtLine1
     //
     this.txtLine1.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtLine1.Location     = new System.Drawing.Point(81, 21);
     this.txtLine1.Name         = "txtLine1";
     this.txtLine1.Size         = new System.Drawing.Size(270, 21);
     this.txtLine1.TabIndex     = 0;
     this.txtLine1.Text         = "";
     this.txtLine1.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblExt
     //
     this._lblExt.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblExt.Location   = new System.Drawing.Point(192, 45);
     this._lblExt.Name       = "_lblExt";
     this._lblExt.Size       = new System.Drawing.Size(24, 18);
     this._lblExt.TabIndex   = 27;
     this._lblExt.Text       = "Ext";
     this._lblExt.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtExt
     //
     this.txtExt.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtExt.Location     = new System.Drawing.Point(225, 45);
     this.txtExt.Name         = "txtExt";
     this.txtExt.Size         = new System.Drawing.Size(48, 21);
     this.txtExt.TabIndex     = 4;
     this.txtExt.Text         = "";
     this.txtExt.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblContact
     //
     this._lblContact.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblContact.Location   = new System.Drawing.Point(3, 21);
     this._lblContact.Name       = "_lblContact";
     this._lblContact.Size       = new System.Drawing.Size(72, 18);
     this._lblContact.TabIndex   = 23;
     this._lblContact.Text       = "Name";
     this._lblContact.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtContact
     //
     this.txtContact.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtContact.Location     = new System.Drawing.Point(81, 21);
     this.txtContact.Name         = "txtContact";
     this.txtContact.Size         = new System.Drawing.Size(192, 21);
     this.txtContact.TabIndex     = 5;
     this.txtContact.Text         = "";
     this.txtContact.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // lblPhone
     //
     this.lblPhone.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblPhone.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblPhone.Location   = new System.Drawing.Point(3, 45);
     this.lblPhone.Name       = "lblPhone";
     this.lblPhone.Size       = new System.Drawing.Size(72, 18);
     this.lblPhone.TabIndex   = 22;
     this.lblPhone.Text       = "Phone #";
     this.lblPhone.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mskFax
     //
     this.mskFax.EditAs        = Infragistics.Win.UltraWinMaskedEdit.EditAsType.UseSpecifiedMask;
     this.mskFax.Location      = new System.Drawing.Point(342, 45);
     this.mskFax.Name          = "mskFax";
     this.mskFax.Size          = new System.Drawing.Size(96, 21);
     this.mskFax.TabIndex      = 7;
     this.mskFax.ValueChanged += new System.EventHandler(this.ValidateForm);
     //
     // chkStatus
     //
     this.chkStatus.Checked         = true;
     this.chkStatus.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkStatus.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkStatus.Location        = new System.Drawing.Point(87, 270);
     this.chkStatus.Name            = "chkStatus";
     this.chkStatus.Size            = new System.Drawing.Size(96, 18);
     this.chkStatus.TabIndex        = 8;
     this.chkStatus.Text            = "Active";
     this.chkStatus.CheckedChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblNumber
     //
     this._lblNumber.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblNumber.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblNumber.Location   = new System.Drawing.Point(9, 12);
     this._lblNumber.Name       = "_lblNumber";
     this._lblNumber.Size       = new System.Drawing.Size(72, 18);
     this._lblNumber.TabIndex   = 15;
     this._lblNumber.Text       = "Number";
     this._lblNumber.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtNumber
     //
     this.txtNumber.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtNumber.Location     = new System.Drawing.Point(87, 12);
     this.txtNumber.Name         = "txtNumber";
     this.txtNumber.Size         = new System.Drawing.Size(72, 21);
     this.txtNumber.TabIndex     = 1;
     this.txtNumber.Text         = "";
     this.txtNumber.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // txtName
     //
     this.txtName.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtName.Location     = new System.Drawing.Point(252, 12);
     this.txtName.Name         = "txtName";
     this.txtName.Size         = new System.Drawing.Size(192, 21);
     this.txtName.TabIndex     = 0;
     this.txtName.Text         = "";
     this.txtName.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblFax
     //
     this._lblFax.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblFax.Location   = new System.Drawing.Point(288, 45);
     this._lblFax.Name       = "_lblFax";
     this._lblFax.Size       = new System.Drawing.Size(48, 18);
     this._lblFax.TabIndex   = 17;
     this._lblFax.Text       = "Fax #";
     this._lblFax.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mskPhone
     //
     this.mskPhone.EditAs        = Infragistics.Win.UltraWinMaskedEdit.EditAsType.UseSpecifiedMask;
     this.mskPhone.Location      = new System.Drawing.Point(81, 45);
     this.mskPhone.Name          = "mskPhone";
     this.mskPhone.Size          = new System.Drawing.Size(96, 21);
     this.mskPhone.TabIndex      = 3;
     this.mskPhone.ValueChanged += new System.EventHandler(this.ValidateForm);
     //
     // mCarriersDS
     //
     this.mCarriersDS.DataSetName = "CarrierDS";
     this.mCarriersDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // tabDialog
     //
     this.tabDialog.Controls.Add(this.tabGeneral);
     this.tabDialog.Controls.Add(this.tabTrans);
     this.tabDialog.Location      = new System.Drawing.Point(3, 3);
     this.tabDialog.Name          = "tabDialog";
     this.tabDialog.SelectedIndex = 0;
     this.tabDialog.Size          = new System.Drawing.Size(468, 321);
     this.tabDialog.TabIndex      = 0;
     //
     // tabGeneral
     //
     this.tabGeneral.Controls.Add(this.fraContact);
     this.tabGeneral.Controls.Add(this._lblName);
     this.tabGeneral.Controls.Add(this.txtName);
     this.tabGeneral.Controls.Add(this.txtNumber);
     this.tabGeneral.Controls.Add(this.chkStatus);
     this.tabGeneral.Controls.Add(this._lblNumber);
     this.tabGeneral.Controls.Add(this.fraAddress);
     this.tabGeneral.Location    = new System.Drawing.Point(4, 22);
     this.tabGeneral.Name        = "tabGeneral";
     this.tabGeneral.Size        = new System.Drawing.Size(460, 295);
     this.tabGeneral.TabIndex    = 0;
     this.tabGeneral.Text        = "General";
     this.tabGeneral.ToolTipText = "General information";
     //
     // fraContact
     //
     this.fraContact.Controls.Add(this._lbleMail);
     this.fraContact.Controls.Add(this._lblExt);
     this.fraContact.Controls.Add(this.txteMail);
     this.fraContact.Controls.Add(this._lblContact);
     this.fraContact.Controls.Add(this.txtContact);
     this.fraContact.Controls.Add(this.lblPhone);
     this.fraContact.Controls.Add(this.mskFax);
     this.fraContact.Controls.Add(this.txtExt);
     this.fraContact.Controls.Add(this._lblFax);
     this.fraContact.Controls.Add(this.mskPhone);
     this.fraContact.Location = new System.Drawing.Point(6, 165);
     this.fraContact.Name     = "fraContact";
     this.fraContact.Size     = new System.Drawing.Size(447, 96);
     this.fraContact.TabIndex = 31;
     this.fraContact.TabStop  = false;
     this.fraContact.Text     = "Contact";
     //
     // tabTrans
     //
     this.tabTrans.Controls.Add(this.fraControl);
     this.tabTrans.Location    = new System.Drawing.Point(4, 22);
     this.tabTrans.Name        = "tabTrans";
     this.tabTrans.Size        = new System.Drawing.Size(460, 295);
     this.tabTrans.TabIndex    = 1;
     this.tabTrans.Text        = "Transportation";
     this.tabTrans.ToolTipText = "Transportation related information";
     this.tabTrans.Visible     = false;
     //
     // fraControl
     //
     this.fraControl.Controls.Add(this._lblControl);
     this.fraControl.Controls.Add(this.chkCtlDrivers);
     this.fraControl.Controls.Add(this.chkCtlTrailers);
     this.fraControl.Location = new System.Drawing.Point(6, 12);
     this.fraControl.Name     = "fraControl";
     this.fraControl.Size     = new System.Drawing.Size(447, 84);
     this.fraControl.TabIndex = 17;
     this.fraControl.TabStop  = false;
     this.fraControl.Text     = "Administration";
     //
     // _lblControl
     //
     this._lblControl.Location = new System.Drawing.Point(192, 24);
     this._lblControl.Name     = "_lblControl";
     this._lblControl.Size     = new System.Drawing.Size(246, 48);
     this._lblControl.TabIndex = 17;
     this._lblControl.Text     = "Selecting to control drivers or trailers will place these entities under administ" +
                                 "rative control only.";
     this._lblControl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dlgCarrierDetail
     //
     this.AcceptButton      = this.btnOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(474, 359);
     this.Controls.Add(this.tabDialog);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOk);
     this.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "dlgCarrierDetail";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Carrier Details";
     this.Load           += new System.EventHandler(this.OnFormLoad);
     this.fraAddress.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.mCountriesDS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mStatesDS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mCarriersDS)).EndInit();
     this.tabDialog.ResumeLayout(false);
     this.tabGeneral.ResumeLayout(false);
     this.fraContact.ResumeLayout(false);
     this.tabTrans.ResumeLayout(false);
     this.fraControl.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(dlgAddressDetail));
     this.cboStates    = new System.Windows.Forms.ComboBox();
     this.mStatesDS    = new Tsort.Enterprise.StateDS();
     this._lblState    = new System.Windows.Forms.Label();
     this._lblLine1    = new System.Windows.Forms.Label();
     this.btnCancel    = new System.Windows.Forms.Button();
     this.btnOk        = new System.Windows.Forms.Button();
     this.grpDetails   = new System.Windows.Forms.GroupBox();
     this._lblCountry  = new System.Windows.Forms.Label();
     this.cboCountries = new System.Windows.Forms.ComboBox();
     this.mCountriesDS = new Tsort.Enterprise.CountryDS();
     this._lblType     = new System.Windows.Forms.Label();
     this.cboTypes     = new System.Windows.Forms.ComboBox();
     this.mTypesDS     = new Tsort.Enterprise.AddressTypeDS();
     this.chkStatus    = new System.Windows.Forms.CheckBox();
     this._lblZip      = new System.Windows.Forms.Label();
     this.txtZip       = new System.Windows.Forms.TextBox();
     this._lblCity     = new System.Windows.Forms.Label();
     this.txtCity      = new System.Windows.Forms.TextBox();
     this._lblLine2    = new System.Windows.Forms.Label();
     this.txtLine2     = new System.Windows.Forms.TextBox();
     this.txtLine1     = new System.Windows.Forms.TextBox();
     this.mAddressDS   = new Tsort.Enterprise.AddressDS();
     ((System.ComponentModel.ISupportInitialize)(this.mStatesDS)).BeginInit();
     this.grpDetails.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mCountriesDS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mTypesDS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mAddressDS)).BeginInit();
     this.SuspendLayout();
     //
     // cboStates
     //
     this.cboStates.DataSource            = this.mStatesDS;
     this.cboStates.DisplayMember         = "StateListTable.STATE";
     this.cboStates.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboStates.ForeColor             = System.Drawing.SystemColors.ControlText;
     this.cboStates.Location              = new System.Drawing.Point(84, 123);
     this.cboStates.Name                  = "cboStates";
     this.cboStates.Size                  = new System.Drawing.Size(72, 21);
     this.cboStates.TabIndex              = 5;
     this.cboStates.ValueMember           = "StateListTable.STATE";
     this.cboStates.SelectedIndexChanged += new System.EventHandler(this.ValidateForm);
     //
     // mStatesDS
     //
     this.mStatesDS.DataSetName = "StateDS";
     this.mStatesDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // _lblState
     //
     this._lblState.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblState.Location  = new System.Drawing.Point(6, 123);
     this._lblState.Name      = "_lblState";
     this._lblState.Size      = new System.Drawing.Size(72, 16);
     this._lblState.TabIndex  = 2;
     this._lblState.Text      = "State";
     this._lblState.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // _lblLine1
     //
     this._lblLine1.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblLine1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblLine1.Location   = new System.Drawing.Point(6, 51);
     this._lblLine1.Name       = "_lblLine1";
     this._lblLine1.Size       = new System.Drawing.Size(72, 16);
     this._lblLine1.TabIndex   = 13;
     this._lblLine1.Text       = "Line 1";
     this._lblLine1.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnCancel
     //
     this.btnCancel.BackColor    = System.Drawing.SystemColors.Control;
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(276, 234);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(96, 24);
     this.btnCancel.TabIndex     = 0;
     this.btnCancel.Text         = "&Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.OnCmdClick);
     //
     // btnOk
     //
     this.btnOk.BackColor = System.Drawing.SystemColors.Control;
     this.btnOk.Enabled   = false;
     this.btnOk.Location  = new System.Drawing.Point(174, 234);
     this.btnOk.Name      = "btnOk";
     this.btnOk.Size      = new System.Drawing.Size(96, 24);
     this.btnOk.TabIndex  = 2;
     this.btnOk.Text      = "&OK";
     this.btnOk.Click    += new System.EventHandler(this.OnCmdClick);
     //
     // grpDetails
     //
     this.grpDetails.Controls.Add(this._lblCountry);
     this.grpDetails.Controls.Add(this.cboCountries);
     this.grpDetails.Controls.Add(this._lblType);
     this.grpDetails.Controls.Add(this.cboTypes);
     this.grpDetails.Controls.Add(this.chkStatus);
     this.grpDetails.Controls.Add(this._lblZip);
     this.grpDetails.Controls.Add(this.txtZip);
     this.grpDetails.Controls.Add(this._lblCity);
     this.grpDetails.Controls.Add(this.txtCity);
     this.grpDetails.Controls.Add(this._lblState);
     this.grpDetails.Controls.Add(this.cboStates);
     this.grpDetails.Controls.Add(this._lblLine2);
     this.grpDetails.Controls.Add(this.txtLine2);
     this.grpDetails.Controls.Add(this._lblLine1);
     this.grpDetails.Controls.Add(this.txtLine1);
     this.grpDetails.Location = new System.Drawing.Point(6, 6);
     this.grpDetails.Name     = "grpDetails";
     this.grpDetails.Size     = new System.Drawing.Size(366, 222);
     this.grpDetails.TabIndex = 1;
     this.grpDetails.TabStop  = false;
     this.grpDetails.Text     = "Address";
     //
     // _lblCountry
     //
     this._lblCountry.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblCountry.Location  = new System.Drawing.Point(6, 150);
     this._lblCountry.Name      = "_lblCountry";
     this._lblCountry.Size      = new System.Drawing.Size(72, 16);
     this._lblCountry.TabIndex  = 23;
     this._lblCountry.Text      = "Country";
     this._lblCountry.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboCountries
     //
     this.cboCountries.DataSource            = this.mCountriesDS;
     this.cboCountries.DisplayMember         = "CountryDetailTable.Country";
     this.cboCountries.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboCountries.ForeColor             = System.Drawing.SystemColors.ControlText;
     this.cboCountries.Location              = new System.Drawing.Point(84, 150);
     this.cboCountries.Name                  = "cboCountries";
     this.cboCountries.Size                  = new System.Drawing.Size(144, 21);
     this.cboCountries.TabIndex              = 4;
     this.cboCountries.ValueMember           = "CountryDetailTable.CountryID";
     this.cboCountries.SelectedValueChanged += new System.EventHandler(this.OnCountryChanged);
     this.cboCountries.SelectedIndexChanged += new System.EventHandler(this.ValidateForm);
     //
     // mCountriesDS
     //
     this.mCountriesDS.DataSetName = "CountryDS";
     this.mCountriesDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // _lblType
     //
     this._lblType.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblType.Location  = new System.Drawing.Point(6, 24);
     this._lblType.Name      = "_lblType";
     this._lblType.Size      = new System.Drawing.Size(72, 16);
     this._lblType.TabIndex  = 21;
     this._lblType.Text      = "Type";
     this._lblType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboTypes
     //
     this.cboTypes.DataSource            = this.mTypesDS;
     this.cboTypes.DisplayMember         = "AddressTypeListTable.AddressType";
     this.cboTypes.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboTypes.ForeColor             = System.Drawing.SystemColors.ControlText;
     this.cboTypes.Location              = new System.Drawing.Point(84, 24);
     this.cboTypes.Name                  = "cboTypes";
     this.cboTypes.Size                  = new System.Drawing.Size(96, 21);
     this.cboTypes.TabIndex              = 0;
     this.cboTypes.ValueMember           = "AddressTypeListTable.AddressType";
     this.cboTypes.SelectedIndexChanged += new System.EventHandler(this.ValidateForm);
     //
     // mTypesDS
     //
     this.mTypesDS.DataSetName = "AddressDS";
     this.mTypesDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // chkStatus
     //
     this.chkStatus.Checked         = true;
     this.chkStatus.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.chkStatus.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkStatus.Location        = new System.Drawing.Point(84, 195);
     this.chkStatus.Name            = "chkStatus";
     this.chkStatus.Size            = new System.Drawing.Size(66, 18);
     this.chkStatus.TabIndex        = 7;
     this.chkStatus.Text            = "Active";
     this.chkStatus.CheckedChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblZip
     //
     this._lblZip.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblZip.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblZip.Location   = new System.Drawing.Point(252, 123);
     this._lblZip.Name       = "_lblZip";
     this._lblZip.Size       = new System.Drawing.Size(24, 16);
     this._lblZip.TabIndex   = 19;
     this._lblZip.Text       = "Zip";
     this._lblZip.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtZip
     //
     this.txtZip.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtZip.Location     = new System.Drawing.Point(282, 123);
     this.txtZip.MaxLength    = 5;
     this.txtZip.Name         = "txtZip";
     this.txtZip.Size         = new System.Drawing.Size(72, 21);
     this.txtZip.TabIndex     = 6;
     this.txtZip.Text         = "";
     this.txtZip.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblCity
     //
     this._lblCity.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._lblCity.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblCity.Location   = new System.Drawing.Point(6, 99);
     this._lblCity.Name       = "_lblCity";
     this._lblCity.Size       = new System.Drawing.Size(72, 16);
     this._lblCity.TabIndex   = 17;
     this._lblCity.Text       = "City";
     this._lblCity.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtCity
     //
     this.txtCity.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtCity.Location     = new System.Drawing.Point(84, 99);
     this.txtCity.Name         = "txtCity";
     this.txtCity.Size         = new System.Drawing.Size(144, 21);
     this.txtCity.TabIndex     = 3;
     this.txtCity.Text         = "";
     this.txtCity.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // _lblLine2
     //
     this._lblLine2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this._lblLine2.Location   = new System.Drawing.Point(6, 75);
     this._lblLine2.Name       = "_lblLine2";
     this._lblLine2.Size       = new System.Drawing.Size(72, 16);
     this._lblLine2.TabIndex   = 15;
     this._lblLine2.Text       = "Line 2";
     this._lblLine2.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtLine2
     //
     this.txtLine2.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtLine2.Location     = new System.Drawing.Point(84, 75);
     this.txtLine2.Name         = "txtLine2";
     this.txtLine2.Size         = new System.Drawing.Size(273, 21);
     this.txtLine2.TabIndex     = 2;
     this.txtLine2.Text         = "";
     this.txtLine2.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // txtLine1
     //
     this.txtLine1.ForeColor    = System.Drawing.SystemColors.ControlText;
     this.txtLine1.Location     = new System.Drawing.Point(84, 51);
     this.txtLine1.Name         = "txtLine1";
     this.txtLine1.Size         = new System.Drawing.Size(273, 21);
     this.txtLine1.TabIndex     = 1;
     this.txtLine1.Text         = "";
     this.txtLine1.TextChanged += new System.EventHandler(this.ValidateForm);
     //
     // mAddressDS
     //
     this.mAddressDS.DataSetName = "AddressList";
     this.mAddressDS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // dlgAddressDetail
     //
     this.AcceptButton      = this.btnOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(378, 263);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.grpDetails);
     this.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "dlgAddressDetail";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Address Details";
     this.Load           += new System.EventHandler(this.OnFormLoad);
     ((System.ComponentModel.ISupportInitialize)(this.mStatesDS)).EndInit();
     this.grpDetails.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.mCountriesDS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mTypesDS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mAddressDS)).EndInit();
     this.ResumeLayout(false);
 }