📄 newcase.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for NewCase.
/// </summary>
public class NewCase : System.Windows.Forms.Form
{
private Tracker7UI.common.UCCountryList ucCountryList1;
private Infragistics.Win.Misc.UltraLabel ultraLabel7;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
private Infragistics.Win.Misc.UltraButton ultraButton1;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public NewCase()
{
//
// 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.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Name");
Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Description");
this.ucCountryList1 = new Tracker7UI.common.UCCountryList();
this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
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.ultraCombo1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
this.ultraGroupBox1.SuspendLayout();
this.SuspendLayout();
//
// ucCountryList1
//
this.ucCountryList1.Location = new System.Drawing.Point(104, 8);
this.ucCountryList1.Name = "ucCountryList1";
this.ucCountryList1.Size = new System.Drawing.Size(152, 24);
this.ucCountryList1.TabIndex = 0;
//
// ultraLabel7
//
this.ultraLabel7.Location = new System.Drawing.Point(8, 11);
this.ultraLabel7.Name = "ultraLabel7";
this.ultraLabel7.Size = new System.Drawing.Size(85, 16);
this.ultraLabel7.TabIndex = 31;
this.ultraLabel7.Text = "Country";
//
// ultraLabel1
//
this.ultraLabel1.Location = new System.Drawing.Point(8, 34);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(85, 16);
this.ultraLabel1.TabIndex = 32;
this.ultraLabel1.Text = "Category";
//
// ultraCombo1
//
this.ultraCombo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
this.ultraCombo1.DisplayMember = "";
this.ultraCombo1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraCombo1.Location = new System.Drawing.Point(104, 32);
this.ultraCombo1.Name = "ultraCombo1";
this.ultraCombo1.Size = new System.Drawing.Size(152, 21);
this.ultraCombo1.TabIndex = 33;
this.ultraCombo1.Text = "Business/Family/Other";
this.ultraCombo1.ValueMember = "";
//
// ultraGrid1
//
ultraGridColumn1.Header.VisiblePosition = 0;
ultraGridColumn1.Width = 134;
ultraGridColumn2.Header.VisiblePosition = 1;
ultraGridColumn2.Width = 293;
ultraGridBand1.Columns.AddRange(new object[] {
ultraGridColumn1,
ultraGridColumn2});
ultraGridBand1.GroupHeadersVisible = false;
this.ultraGrid1.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
this.ultraGrid1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraGrid1.Location = new System.Drawing.Point(8, 56);
this.ultraGrid1.Name = "ultraGrid1";
this.ultraGrid1.Size = new System.Drawing.Size(448, 144);
this.ultraGrid1.TabIndex = 34;
this.ultraGrid1.Text = "ultraGrid1";
//
// 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 = 35;
this.ultraGroupBox1.Text = "ImmigrationTracker";
//
// 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";
//
// NewCase
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(462, 243);
this.Controls.Add(this.ultraGroupBox1);
this.Controls.Add(this.ultraGrid1);
this.Controls.Add(this.ultraCombo1);
this.Controls.Add(this.ultraLabel1);
this.Controls.Add(this.ultraLabel7);
this.Controls.Add(this.ucCountryList1);
this.HelpButton = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "NewCase";
this.Text = "NewCase";
((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).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 + -