📄 address.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for Address.
/// </summary>
public class Address : System.Windows.Forms.Form
{
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private Infragistics.Win.Misc.UltraLabel ultraLabel3;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
private Infragistics.Win.Misc.UltraLabel ultraLabel4;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
private Infragistics.Win.Misc.UltraLabel ultraLabel5;
private Infragistics.Win.Misc.UltraLabel ultraLabel6;
private Infragistics.Win.Misc.UltraLabel ultraLabel7;
private Tracker7UI.common.UCCountryList ucCountryList1;
private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
private Infragistics.Win.Misc.UltraLabel ultraLabel8;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
private Infragistics.Win.Misc.UltraLabel ultraLabel9;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
private Infragistics.Win.Misc.UltraButton ultraButton1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Address()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
this.ucCountryList1 = new Tracker7UI.common.UCCountryList();
this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
this.ultraGroupBox1.SuspendLayout();
this.SuspendLayout();
//
// ultraLabel1
//
this.ultraLabel1.Location = new System.Drawing.Point(8, 11);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(100, 16);
this.ultraLabel1.TabIndex = 0;
this.ultraLabel1.Text = "Address Type";
//
// ultraTextEditor1
//
this.ultraTextEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor1.Location = new System.Drawing.Point(112, 32);
this.ultraTextEditor1.Name = "ultraTextEditor1";
this.ultraTextEditor1.Size = new System.Drawing.Size(256, 21);
this.ultraTextEditor1.TabIndex = 2;
//
// ultraComboEditor1
//
this.ultraComboEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraComboEditor1.Location = new System.Drawing.Point(112, 8);
this.ultraComboEditor1.Name = "ultraComboEditor1";
this.ultraComboEditor1.TabIndex = 0;
this.ultraComboEditor1.Text = "Home/Foreign/Office...";
//
// ultraCheckEditor1
//
this.ultraCheckEditor1.FlatMode = true;
this.ultraCheckEditor1.Location = new System.Drawing.Point(264, 8);
this.ultraCheckEditor1.Name = "ultraCheckEditor1";
this.ultraCheckEditor1.Size = new System.Drawing.Size(112, 20);
this.ultraCheckEditor1.TabIndex = 1;
this.ultraCheckEditor1.Text = "AOS Filed";
//
// ultraLabel2
//
this.ultraLabel2.Location = new System.Drawing.Point(8, 34);
this.ultraLabel2.Name = "ultraLabel2";
this.ultraLabel2.Size = new System.Drawing.Size(100, 16);
this.ultraLabel2.TabIndex = 4;
this.ultraLabel2.Text = "Attention";
//
// ultraLabel3
//
this.ultraLabel3.Location = new System.Drawing.Point(8, 61);
this.ultraLabel3.Name = "ultraLabel3";
this.ultraLabel3.Size = new System.Drawing.Size(100, 16);
this.ultraLabel3.TabIndex = 5;
this.ultraLabel3.Text = "Street";
//
// ultraTextEditor2
//
this.ultraTextEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor2.Location = new System.Drawing.Point(112, 56);
this.ultraTextEditor2.Name = "ultraTextEditor2";
this.ultraTextEditor2.Size = new System.Drawing.Size(256, 21);
this.ultraTextEditor2.TabIndex = 3;
//
// ultraLabel4
//
this.ultraLabel4.Location = new System.Drawing.Point(8, 82);
this.ultraLabel4.Name = "ultraLabel4";
this.ultraLabel4.Size = new System.Drawing.Size(100, 16);
this.ultraLabel4.TabIndex = 7;
this.ultraLabel4.Text = "Unit/Apt";
//
// ultraTextEditor3
//
this.ultraTextEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor3.Location = new System.Drawing.Point(112, 80);
this.ultraTextEditor3.Name = "ultraTextEditor3";
this.ultraTextEditor3.Size = new System.Drawing.Size(256, 21);
this.ultraTextEditor3.TabIndex = 4;
//
// ultraTextEditor4
//
this.ultraTextEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor4.Location = new System.Drawing.Point(112, 104);
this.ultraTextEditor4.Name = "ultraTextEditor4";
this.ultraTextEditor4.Size = new System.Drawing.Size(256, 21);
this.ultraTextEditor4.TabIndex = 5;
//
// ultraLabel5
//
this.ultraLabel5.Location = new System.Drawing.Point(8, 107);
this.ultraLabel5.Name = "ultraLabel5";
this.ultraLabel5.Size = new System.Drawing.Size(100, 16);
this.ultraLabel5.TabIndex = 9;
this.ultraLabel5.Text = "City";
//
// ultraLabel6
//
this.ultraLabel6.Location = new System.Drawing.Point(8, 155);
this.ultraLabel6.Name = "ultraLabel6";
this.ultraLabel6.Size = new System.Drawing.Size(100, 16);
this.ultraLabel6.TabIndex = 11;
this.ultraLabel6.Text = "State\\Province";
//
// ultraLabel7
//
this.ultraLabel7.Location = new System.Drawing.Point(8, 131);
this.ultraLabel7.Name = "ultraLabel7";
this.ultraLabel7.Size = new System.Drawing.Size(100, 16);
this.ultraLabel7.TabIndex = 12;
this.ultraLabel7.Text = "Country";
//
// ucCountryList1
//
this.ucCountryList1.Location = new System.Drawing.Point(112, 128);
this.ucCountryList1.Name = "ucCountryList1";
this.ucCountryList1.Size = new System.Drawing.Size(256, 24);
this.ucCountryList1.TabIndex = 6;
//
// ultraComboEditor2
//
this.ultraComboEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraComboEditor2.Location = new System.Drawing.Point(112, 152);
this.ultraComboEditor2.Name = "ultraComboEditor2";
this.ultraComboEditor2.Size = new System.Drawing.Size(256, 21);
this.ultraComboEditor2.TabIndex = 7;
this.ultraComboEditor2.Text = "Type... or select from States (by Country)";
//
// ultraLabel8
//
this.ultraLabel8.Location = new System.Drawing.Point(8, 178);
this.ultraLabel8.Name = "ultraLabel8";
this.ultraLabel8.Size = new System.Drawing.Size(100, 16);
this.ultraLabel8.TabIndex = 16;
this.ultraLabel8.Text = "Zip\\Postal Code";
//
// ultraTextEditor5
//
this.ultraTextEditor5.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor5.Location = new System.Drawing.Point(112, 176);
this.ultraTextEditor5.Name = "ultraTextEditor5";
this.ultraTextEditor5.Size = new System.Drawing.Size(96, 21);
this.ultraTextEditor5.TabIndex = 8;
//
// ultraLabel9
//
this.ultraLabel9.Location = new System.Drawing.Point(216, 178);
this.ultraLabel9.Name = "ultraLabel9";
this.ultraLabel9.Size = new System.Drawing.Size(80, 16);
this.ultraLabel9.TabIndex = 18;
this.ultraLabel9.Text = "Routing Code";
//
// ultraTextEditor6
//
this.ultraTextEditor6.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor6.Location = new System.Drawing.Point(296, 176);
this.ultraTextEditor6.Name = "ultraTextEditor6";
this.ultraTextEditor6.Size = new System.Drawing.Size(72, 21);
this.ultraTextEditor6.TabIndex = 9;
//
// ultraGroupBox1
//
this.ultraGroupBox1.Controls.Add(this.ultraButton2);
this.ultraGroupBox1.Controls.Add(this.ultraButton1);
this.ultraGroupBox1.Location = new System.Drawing.Point(-8, 208);
this.ultraGroupBox1.Name = "ultraGroupBox1";
this.ultraGroupBox1.Size = new System.Drawing.Size(408, 96);
this.ultraGroupBox1.SupportThemes = false;
this.ultraGroupBox1.TabIndex = 20;
//
// ultraButton2
//
this.ultraButton2.Location = new System.Drawing.Point(224, 16);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.TabIndex = 0;
this.ultraButton2.Text = "&OK";
//
// ultraButton1
//
this.ultraButton1.Location = new System.Drawing.Point(304, 16);
this.ultraButton1.Name = "ultraButton1";
this.ultraButton1.TabIndex = 1;
this.ultraButton1.Text = "Cancel";
//
// Address
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(376, 253);
this.Controls.Add(this.ultraGroupBox1);
this.Controls.Add(this.ultraTextEditor6);
this.Controls.Add(this.ultraLabel9);
this.Controls.Add(this.ultraTextEditor5);
this.Controls.Add(this.ultraLabel8);
this.Controls.Add(this.ultraComboEditor2);
this.Controls.Add(this.ucCountryList1);
this.Controls.Add(this.ultraLabel7);
this.Controls.Add(this.ultraLabel6);
this.Controls.Add(this.ultraTextEditor4);
this.Controls.Add(this.ultraLabel5);
this.Controls.Add(this.ultraTextEditor3);
this.Controls.Add(this.ultraLabel4);
this.Controls.Add(this.ultraTextEditor2);
this.Controls.Add(this.ultraLabel3);
this.Controls.Add(this.ultraLabel2);
this.Controls.Add(this.ultraCheckEditor1);
this.Controls.Add(this.ultraComboEditor1);
this.Controls.Add(this.ultraTextEditor1);
this.Controls.Add(this.ultraLabel1);
this.HelpButton = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Address";
this.Text = "Address";
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
this.ultraGroupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -