📄 travel.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for Travel.
/// </summary>
public class Travel : System.Windows.Forms.Form
{
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
private Tracker7UI.common.UCCountryList ucCountryList1;
private Tracker7UI.common.UCCountryList ucCountryList2;
private Infragistics.Win.Misc.UltraLabel ultraLabel4;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor1;
private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor2;
private Infragistics.Win.Misc.UltraLabel ultraLabel18;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private Infragistics.Win.Misc.UltraLabel ultraLabel3;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
private Infragistics.Win.Misc.UltraLabel ultraLabel5;
private Infragistics.Win.Misc.UltraLabel ultraLabel6;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
private Infragistics.Win.Misc.UltraLabel ultraLabel7;
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox4;
private Infragistics.Win.Misc.UltraButton ultraButton1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
private Infragistics.Win.Misc.UltraButton ultraButton3;
private Infragistics.Win.Misc.UltraLabel ultraLabel8;
private Infragistics.Win.Misc.UltraLabel ultraLabel9;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
private Infragistics.Win.Misc.UltraLabel ultraLabel10;
private Infragistics.Win.Misc.UltraLabel ultraLabel11;
private Infragistics.Win.Misc.UltraLabel ultraLabel12;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor8;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10;
private Infragistics.Win.Misc.UltraLabel ultraLabel13;
private Infragistics.Win.Misc.UltraButton ultraButton4;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Travel()
{
//
// 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.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor1 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
this.ucCountryList1 = new Tracker7UI.common.UCCountryList();
this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
this.ultraDateTimeEditor2 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ucCountryList2 = new Tracker7UI.common.UCCountryList();
this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox();
this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraGroupBox4 = new Infragistics.Win.Misc.UltraGroupBox();
this.ultraButton3 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor8 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
this.ultraButton4 = new Infragistics.Win.Misc.UltraButton();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
this.ultraGroupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
this.ultraGroupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit();
this.ultraGroupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox4)).BeginInit();
this.ultraGroupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit();
this.SuspendLayout();
//
// ultraGroupBox1
//
this.ultraGroupBox1.Controls.Add(this.ultraTextEditor4);
this.ultraGroupBox1.Controls.Add(this.ultraLabel7);
this.ultraGroupBox1.Controls.Add(this.ultraTextEditor1);
this.ultraGroupBox1.Controls.Add(this.ultraLabel3);
this.ultraGroupBox1.Controls.Add(this.ultraLabel18);
this.ultraGroupBox1.Controls.Add(this.ultraDateTimeEditor1);
this.ultraGroupBox1.Controls.Add(this.ultraLabel4);
this.ultraGroupBox1.Controls.Add(this.ucCountryList1);
this.ultraGroupBox1.Location = new System.Drawing.Point(8, 119);
this.ultraGroupBox1.Name = "ultraGroupBox1";
this.ultraGroupBox1.Size = new System.Drawing.Size(448, 110);
this.ultraGroupBox1.SupportThemes = false;
this.ultraGroupBox1.TabIndex = 0;
this.ultraGroupBox1.Text = "From";
//
// ultraTextEditor4
//
this.ultraTextEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor4.Location = new System.Drawing.Point(103, 64);
this.ultraTextEditor4.Multiline = true;
this.ultraTextEditor4.Name = "ultraTextEditor4";
this.ultraTextEditor4.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor4.Size = new System.Drawing.Size(336, 40);
this.ultraTextEditor4.TabIndex = 58;
//
// ultraLabel7
//
this.ultraLabel7.Location = new System.Drawing.Point(8, 72);
this.ultraLabel7.Name = "ultraLabel7";
this.ultraLabel7.Size = new System.Drawing.Size(85, 16);
this.ultraLabel7.TabIndex = 57;
this.ultraLabel7.Text = "Comment";
//
// ultraTextEditor1
//
this.ultraTextEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor1.Location = new System.Drawing.Point(104, 40);
this.ultraTextEditor1.Name = "ultraTextEditor1";
this.ultraTextEditor1.Size = new System.Drawing.Size(144, 21);
this.ultraTextEditor1.TabIndex = 52;
//
// ultraLabel3
//
this.ultraLabel3.Location = new System.Drawing.Point(9, 43);
this.ultraLabel3.Name = "ultraLabel3";
this.ultraLabel3.Size = new System.Drawing.Size(85, 16);
this.ultraLabel3.TabIndex = 51;
this.ultraLabel3.Text = "Departure Port";
//
// ultraLabel18
//
this.ultraLabel18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel18.Location = new System.Drawing.Point(256, 18);
this.ultraLabel18.Name = "ultraLabel18";
this.ultraLabel18.Size = new System.Drawing.Size(85, 16);
this.ultraLabel18.TabIndex = 50;
this.ultraLabel18.Text = "Depart Date";
//
// ultraDateTimeEditor1
//
this.ultraDateTimeEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraDateTimeEditor1.Location = new System.Drawing.Point(352, 16);
this.ultraDateTimeEditor1.Name = "ultraDateTimeEditor1";
this.ultraDateTimeEditor1.Size = new System.Drawing.Size(88, 21);
this.ultraDateTimeEditor1.TabIndex = 11;
//
// 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(9, 18);
this.ultraLabel4.Name = "ultraLabel4";
this.ultraLabel4.Size = new System.Drawing.Size(85, 16);
this.ultraLabel4.TabIndex = 10;
this.ultraLabel4.Text = "Country";
//
// ucCountryList1
//
this.ucCountryList1.Location = new System.Drawing.Point(104, 16);
this.ucCountryList1.Name = "ucCountryList1";
this.ucCountryList1.Size = new System.Drawing.Size(144, 24);
this.ucCountryList1.TabIndex = 0;
//
// ultraGroupBox2
//
this.ultraGroupBox2.Controls.Add(this.ultraButton4);
this.ultraGroupBox2.Controls.Add(this.ultraTextEditor3);
this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
this.ultraGroupBox2.Controls.Add(this.ultraTextEditor2);
this.ultraGroupBox2.Controls.Add(this.ultraLabel5);
this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
this.ultraGroupBox2.Controls.Add(this.ultraDateTimeEditor2);
this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
this.ultraGroupBox2.Controls.Add(this.ucCountryList2);
this.ultraGroupBox2.Location = new System.Drawing.Point(8, 229);
this.ultraGroupBox2.Name = "ultraGroupBox2";
this.ultraGroupBox2.Size = new System.Drawing.Size(448, 110);
this.ultraGroupBox2.SupportThemes = false;
this.ultraGroupBox2.TabIndex = 1;
this.ultraGroupBox2.Text = "To";
//
// ultraTextEditor3
//
this.ultraTextEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor3.Location = new System.Drawing.Point(104, 64);
this.ultraTextEditor3.Multiline = true;
this.ultraTextEditor3.Name = "ultraTextEditor3";
this.ultraTextEditor3.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor3.Size = new System.Drawing.Size(336, 40);
this.ultraTextEditor3.TabIndex = 56;
//
// ultraLabel6
//
this.ultraLabel6.Location = new System.Drawing.Point(8, 72);
this.ultraLabel6.Name = "ultraLabel6";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -