📄 arrivaldeparture.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for ArrivalDeparture.
/// </summary>
public class ArrivalDeparture : System.Windows.Forms.Form
{
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox5;
private Tracker7UI.common.UCCountryList ucCountryList3;
private Infragistics.Win.Misc.UltraLabel ultraLabel21;
private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
private Infragistics.Win.Misc.UltraLabel ultraLabel20;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13;
private Infragistics.Win.Misc.UltraLabel ultraLabel19;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor4;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11;
private Infragistics.Win.Misc.UltraLabel ultraLabel14;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12;
private Infragistics.Win.Misc.UltraLabel ultraLabel15;
private Infragistics.Win.Misc.UltraLabel ultraLabel16;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor3;
private Infragistics.Win.Misc.UltraLabel ultraLabel17;
private Infragistics.Win.Misc.UltraButton ultraButton1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public ArrivalDeparture()
{
//
// 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()
{
Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
this.ultraGroupBox5 = new Infragistics.Win.Misc.UltraGroupBox();
this.ucCountryList3 = new Tracker7UI.common.UCCountryList();
this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor4 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor3 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox5)).BeginInit();
this.ultraGroupBox5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor3)).BeginInit();
this.SuspendLayout();
//
// ultraGroupBox5
//
this.ultraGroupBox5.Controls.Add(this.ultraButton2);
this.ultraGroupBox5.Controls.Add(this.ultraButton1);
this.ultraGroupBox5.Location = new System.Drawing.Point(-8, 200);
this.ultraGroupBox5.Name = "ultraGroupBox5";
this.ultraGroupBox5.Size = new System.Drawing.Size(480, 48);
this.ultraGroupBox5.SupportThemes = false;
this.ultraGroupBox5.TabIndex = 5;
this.ultraGroupBox5.Text = "ImmigrationTracker";
//
// ucCountryList3
//
this.ucCountryList3.Location = new System.Drawing.Point(104, 4);
this.ucCountryList3.Name = "ucCountryList3";
this.ucCountryList3.Size = new System.Drawing.Size(144, 24);
this.ucCountryList3.TabIndex = 63;
//
// ultraLabel21
//
this.ultraLabel21.Location = new System.Drawing.Point(272, 60);
this.ultraLabel21.Name = "ultraLabel21";
this.ultraLabel21.Size = new System.Drawing.Size(85, 16);
this.ultraLabel21.TabIndex = 62;
this.ultraLabel21.Text = "Status";
//
// ultraComboEditor2
//
this.ultraComboEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
valueListItem1.DataValue = "ValueListItem0";
valueListItem1.DisplayText = "A-1";
valueListItem2.DataValue = "ValueListItem1";
valueListItem2.DisplayText = "A-2";
valueListItem3.DataValue = "ValueListItem2";
valueListItem3.DisplayText = "A-3";
valueListItem4.DataValue = "ValueListItem3";
valueListItem4.DisplayText = "etc";
valueListItem5.DataValue = "ValueListItem4";
valueListItem5.DisplayText = "etc";
valueListItem6.DataValue = "ValueListItem5";
this.ultraComboEditor2.Items.Add(valueListItem1);
this.ultraComboEditor2.Items.Add(valueListItem2);
this.ultraComboEditor2.Items.Add(valueListItem3);
this.ultraComboEditor2.Items.Add(valueListItem4);
this.ultraComboEditor2.Items.Add(valueListItem5);
this.ultraComboEditor2.Items.Add(valueListItem6);
this.ultraComboEditor2.Location = new System.Drawing.Point(368, 57);
this.ultraComboEditor2.Name = "ultraComboEditor2";
this.ultraComboEditor2.Size = new System.Drawing.Size(88, 21);
this.ultraComboEditor2.TabIndex = 61;
this.ultraComboEditor2.Text = "A-1";
//
// ultraLabel20
//
this.ultraLabel20.Location = new System.Drawing.Point(8, 7);
this.ultraLabel20.Name = "ultraLabel20";
this.ultraLabel20.Size = new System.Drawing.Size(85, 16);
this.ultraLabel20.TabIndex = 60;
this.ultraLabel20.Text = "Country";
//
// ultraTextEditor13
//
this.ultraTextEditor13.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor13.Location = new System.Drawing.Point(104, 32);
this.ultraTextEditor13.Name = "ultraTextEditor13";
this.ultraTextEditor13.Size = new System.Drawing.Size(144, 21);
this.ultraTextEditor13.TabIndex = 59;
//
// ultraLabel19
//
this.ultraLabel19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel19.Location = new System.Drawing.Point(272, 35);
this.ultraLabel19.Name = "ultraLabel19";
this.ultraLabel19.Size = new System.Drawing.Size(85, 16);
this.ultraLabel19.TabIndex = 58;
this.ultraLabel19.Text = "Expire Date";
//
// ultraDateTimeEditor4
//
this.ultraDateTimeEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraDateTimeEditor4.Location = new System.Drawing.Point(368, 32);
this.ultraDateTimeEditor4.Name = "ultraDateTimeEditor4";
this.ultraDateTimeEditor4.Size = new System.Drawing.Size(88, 21);
this.ultraDateTimeEditor4.TabIndex = 57;
//
// ultraTextEditor11
//
this.ultraTextEditor11.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor11.Location = new System.Drawing.Point(104, 83);
this.ultraTextEditor11.Multiline = true;
this.ultraTextEditor11.Name = "ultraTextEditor11";
this.ultraTextEditor11.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor11.Size = new System.Drawing.Size(352, 109);
this.ultraTextEditor11.TabIndex = 56;
//
// ultraLabel14
//
this.ultraLabel14.Location = new System.Drawing.Point(8, 84);
this.ultraLabel14.Name = "ultraLabel14";
this.ultraLabel14.Size = new System.Drawing.Size(85, 16);
this.ultraLabel14.TabIndex = 55;
this.ultraLabel14.Text = "Comment";
//
// ultraTextEditor12
//
this.ultraTextEditor12.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor12.Location = new System.Drawing.Point(104, 57);
this.ultraTextEditor12.Name = "ultraTextEditor12";
this.ultraTextEditor12.Size = new System.Drawing.Size(144, 21);
this.ultraTextEditor12.TabIndex = 54;
//
// ultraLabel15
//
this.ultraLabel15.Location = new System.Drawing.Point(8, 60);
this.ultraLabel15.Name = "ultraLabel15";
this.ultraLabel15.Size = new System.Drawing.Size(85, 16);
this.ultraLabel15.TabIndex = 53;
this.ultraLabel15.Text = "Number";
//
// ultraLabel16
//
this.ultraLabel16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel16.Location = new System.Drawing.Point(272, 7);
this.ultraLabel16.Name = "ultraLabel16";
this.ultraLabel16.Size = new System.Drawing.Size(85, 16);
this.ultraLabel16.TabIndex = 50;
this.ultraLabel16.Text = "Arrive Date";
//
// ultraDateTimeEditor3
//
this.ultraDateTimeEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraDateTimeEditor3.Location = new System.Drawing.Point(368, 4);
this.ultraDateTimeEditor3.Name = "ultraDateTimeEditor3";
this.ultraDateTimeEditor3.Size = new System.Drawing.Size(88, 21);
this.ultraDateTimeEditor3.TabIndex = 12;
//
// ultraLabel17
//
this.ultraLabel17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel17.Location = new System.Drawing.Point(8, 35);
this.ultraLabel17.Name = "ultraLabel17";
this.ultraLabel17.Size = new System.Drawing.Size(85, 16);
this.ultraLabel17.TabIndex = 11;
this.ultraLabel17.Text = "Name";
//
// ultraButton1
//
this.ultraButton1.Location = new System.Drawing.Point(392, 16);
this.ultraButton1.Name = "ultraButton1";
this.ultraButton1.TabIndex = 0;
this.ultraButton1.Text = "&Cancel";
//
// ultraButton2
//
this.ultraButton2.Location = new System.Drawing.Point(312, 16);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.TabIndex = 1;
this.ultraButton2.Text = "&OK";
//
// ArrivalDeparture
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(462, 243);
this.Controls.Add(this.ultraGroupBox5);
this.Controls.Add(this.ucCountryList3);
this.Controls.Add(this.ultraLabel20);
this.Controls.Add(this.ultraLabel17);
this.Controls.Add(this.ultraTextEditor13);
this.Controls.Add(this.ultraDateTimeEditor3);
this.Controls.Add(this.ultraLabel16);
this.Controls.Add(this.ultraLabel19);
this.Controls.Add(this.ultraDateTimeEditor4);
this.Controls.Add(this.ultraTextEditor12);
this.Controls.Add(this.ultraLabel15);
this.Controls.Add(this.ultraLabel21);
this.Controls.Add(this.ultraComboEditor2);
this.Controls.Add(this.ultraLabel14);
this.Controls.Add(this.ultraTextEditor11);
this.Name = "ArrivalDeparture";
this.Text = "Arrival Departure (I-94)";
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox5)).EndInit();
this.ultraGroupBox5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor3)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -