📄 passport.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for Passport.
/// </summary>
public class Passport : System.Windows.Forms.Form
{
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
private Infragistics.Win.Misc.UltraButton ultraButton1;
private Tracker7UI.common.UCCountryList ucCountryList1;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.Misc.UltraLabel ultraLabel3;
private Infragistics.Win.Misc.UltraLabel ultraLabel4;
private Infragistics.Win.Misc.UltraLabel ultraLabel5;
private Infragistics.Win.Misc.UltraLabel ultraLabel6;
private Infragistics.Win.Misc.UltraLabel ultraLabel7;
private Infragistics.Win.Misc.UltraLabel ultraLabel8;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor1;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor2;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Passport()
{
//
// 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.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
this.ucCountryList1 = new Tracker7UI.common.UCCountryList();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.ultraDateTimeEditor1 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraDateTimeEditor2 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
this.ultraGroupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
this.SuspendLayout();
//
// 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(480, 47);
this.ultraGroupBox1.SupportThemes = false;
this.ultraGroupBox1.TabIndex = 30;
//
// ultraButton2
//
this.ultraButton2.Location = new System.Drawing.Point(312, 8);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.TabIndex = 1;
this.ultraButton2.Text = "&OK";
//
// ultraButton1
//
this.ultraButton1.Location = new System.Drawing.Point(392, 8);
this.ultraButton1.Name = "ultraButton1";
this.ultraButton1.TabIndex = 0;
this.ultraButton1.Text = "&Cancel";
//
// ucCountryList1
//
this.ucCountryList1.Location = new System.Drawing.Point(118, 76);
this.ucCountryList1.Name = "ucCountryList1";
this.ucCountryList1.Size = new System.Drawing.Size(154, 24);
this.ucCountryList1.TabIndex = 31;
//
// ultraLabel2
//
this.ultraLabel2.Location = new System.Drawing.Point(0, 78);
this.ultraLabel2.Name = "ultraLabel2";
this.ultraLabel2.Size = new System.Drawing.Size(112, 16);
this.ultraLabel2.TabIndex = 38;
this.ultraLabel2.Text = "Issue Country";
//
// ultraLabel1
//
this.ultraLabel1.Location = new System.Drawing.Point(0, 104);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(112, 16);
this.ultraLabel1.TabIndex = 39;
this.ultraLabel1.Text = "Issue City";
//
// ultraLabel3
//
this.ultraLabel3.Location = new System.Drawing.Point(277, 7);
this.ultraLabel3.Name = "ultraLabel3";
this.ultraLabel3.Size = new System.Drawing.Size(85, 16);
this.ultraLabel3.TabIndex = 40;
this.ultraLabel3.Text = "Issue Date";
//
// ultraLabel4
//
this.ultraLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel4.Location = new System.Drawing.Point(277, 32);
this.ultraLabel4.Name = "ultraLabel4";
this.ultraLabel4.Size = new System.Drawing.Size(85, 16);
this.ultraLabel4.TabIndex = 41;
this.ultraLabel4.Text = "Expire Date";
//
// ultraLabel5
//
this.ultraLabel5.Location = new System.Drawing.Point(0, 8);
this.ultraLabel5.Name = "ultraLabel5";
this.ultraLabel5.Size = new System.Drawing.Size(112, 16);
this.ultraLabel5.TabIndex = 42;
this.ultraLabel5.Text = "Passport Type";
//
// ultraLabel6
//
this.ultraLabel6.Location = new System.Drawing.Point(0, 32);
this.ultraLabel6.Name = "ultraLabel6";
this.ultraLabel6.Size = new System.Drawing.Size(112, 16);
this.ultraLabel6.TabIndex = 43;
this.ultraLabel6.Text = "Name on Passport";
//
// ultraLabel7
//
this.ultraLabel7.Location = new System.Drawing.Point(0, 56);
this.ultraLabel7.Name = "ultraLabel7";
this.ultraLabel7.Size = new System.Drawing.Size(112, 16);
this.ultraLabel7.TabIndex = 44;
this.ultraLabel7.Text = "Passport Number";
//
// ultraLabel8
//
this.ultraLabel8.Location = new System.Drawing.Point(0, 125);
this.ultraLabel8.Name = "ultraLabel8";
this.ultraLabel8.Size = new System.Drawing.Size(85, 16);
this.ultraLabel8.TabIndex = 45;
this.ultraLabel8.Text = "Comment";
//
// ultraTextEditor1
//
this.ultraTextEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor1.Location = new System.Drawing.Point(3, 141);
this.ultraTextEditor1.Multiline = true;
this.ultraTextEditor1.Name = "ultraTextEditor1";
this.ultraTextEditor1.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor1.Size = new System.Drawing.Size(456, 64);
this.ultraTextEditor1.TabIndex = 46;
this.ultraTextEditor1.Text = "<Comment>";
//
// ultraTextEditor2
//
this.ultraTextEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor2.Location = new System.Drawing.Point(118, 100);
this.ultraTextEditor2.Name = "ultraTextEditor2";
this.ultraTextEditor2.Size = new System.Drawing.Size(154, 21);
this.ultraTextEditor2.TabIndex = 47;
//
// ultraComboEditor1
//
this.ultraComboEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraComboEditor1.Location = new System.Drawing.Point(118, 3);
this.ultraComboEditor1.Name = "ultraComboEditor1";
this.ultraComboEditor1.Size = new System.Drawing.Size(154, 21);
this.ultraComboEditor1.TabIndex = 48;
this.ultraComboEditor1.Text = "Regular/Diplomatic...";
//
// ultraDateTimeEditor1
//
this.ultraDateTimeEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraDateTimeEditor1.Location = new System.Drawing.Point(368, 3);
this.ultraDateTimeEditor1.Name = "ultraDateTimeEditor1";
this.ultraDateTimeEditor1.Size = new System.Drawing.Size(88, 21);
this.ultraDateTimeEditor1.TabIndex = 49;
//
// ultraDateTimeEditor2
//
this.ultraDateTimeEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraDateTimeEditor2.Location = new System.Drawing.Point(368, 27);
this.ultraDateTimeEditor2.Name = "ultraDateTimeEditor2";
this.ultraDateTimeEditor2.Size = new System.Drawing.Size(88, 21);
this.ultraDateTimeEditor2.TabIndex = 50;
//
// ultraTextEditor3
//
this.ultraTextEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor3.Location = new System.Drawing.Point(118, 27);
this.ultraTextEditor3.Name = "ultraTextEditor3";
this.ultraTextEditor3.Size = new System.Drawing.Size(154, 21);
this.ultraTextEditor3.TabIndex = 51;
//
// ultraTextEditor4
//
this.ultraTextEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor4.Location = new System.Drawing.Point(118, 51);
this.ultraTextEditor4.Name = "ultraTextEditor4";
this.ultraTextEditor4.Size = new System.Drawing.Size(154, 21);
this.ultraTextEditor4.TabIndex = 52;
//
// Passport
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(462, 243);
this.Controls.Add(this.ultraTextEditor4);
this.Controls.Add(this.ultraTextEditor3);
this.Controls.Add(this.ultraDateTimeEditor2);
this.Controls.Add(this.ultraDateTimeEditor1);
this.Controls.Add(this.ultraComboEditor1);
this.Controls.Add(this.ultraTextEditor2);
this.Controls.Add(this.ultraTextEditor1);
this.Controls.Add(this.ultraLabel8);
this.Controls.Add(this.ultraLabel7);
this.Controls.Add(this.ultraLabel6);
this.Controls.Add(this.ultraLabel5);
this.Controls.Add(this.ultraLabel4);
this.Controls.Add(this.ultraLabel3);
this.Controls.Add(this.ultraLabel1);
this.Controls.Add(this.ultraLabel2);
this.Controls.Add(this.ucCountryList1);
this.Controls.Add(this.ultraGroupBox1);
this.Name = "Passport";
this.Text = "Passport";
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
this.ultraGroupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -