📄 contactinfo.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Tracker7UI.dialogs
{
/// <summary>
/// Summary description for ContactInfo.
/// </summary>
public class ContactInfo : System.Windows.Forms.Form
{
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo2;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
private Infragistics.Win.Misc.UltraButton ultraButton1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public ContactInfo()
{
//
// 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.ultraCombo2 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
this.ultraGroupBox1.SuspendLayout();
this.SuspendLayout();
//
// ultraCombo2
//
this.ultraCombo2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
this.ultraCombo2.DisplayMember = "";
this.ultraCombo2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraCombo2.Location = new System.Drawing.Point(96, 8);
this.ultraCombo2.Name = "ultraCombo2";
this.ultraCombo2.Size = new System.Drawing.Size(248, 21);
this.ultraCombo2.TabIndex = 51;
this.ultraCombo2.Text = "Office Phone 1, Office Email2, ...";
this.ultraCombo2.ValueMember = "";
//
// ultraLabel1
//
this.ultraLabel1.Location = new System.Drawing.Point(8, 11);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(85, 16);
this.ultraLabel1.TabIndex = 50;
this.ultraLabel1.Text = "Info Type";
//
// ultraLabel2
//
this.ultraLabel2.Location = new System.Drawing.Point(8, 34);
this.ultraLabel2.Name = "ultraLabel2";
this.ultraLabel2.Size = new System.Drawing.Size(85, 16);
this.ultraLabel2.TabIndex = 52;
this.ultraLabel2.Text = "Value";
//
// ultraTextEditor1
//
this.ultraTextEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor1.Location = new System.Drawing.Point(96, 33);
this.ultraTextEditor1.Name = "ultraTextEditor1";
this.ultraTextEditor1.Size = new System.Drawing.Size(248, 21);
this.ultraTextEditor1.TabIndex = 53;
//
// ultraGroupBox1
//
this.ultraGroupBox1.Controls.Add(this.ultraButton2);
this.ultraGroupBox1.Controls.Add(this.ultraButton1);
this.ultraGroupBox1.Location = new System.Drawing.Point(-8, 84);
this.ultraGroupBox1.Name = "ultraGroupBox1";
this.ultraGroupBox1.Size = new System.Drawing.Size(368, 110);
this.ultraGroupBox1.SupportThemes = false;
this.ultraGroupBox1.TabIndex = 54;
//
// ultraCheckEditor1
//
this.ultraCheckEditor1.FlatMode = true;
this.ultraCheckEditor1.Location = new System.Drawing.Point(8, 58);
this.ultraCheckEditor1.Name = "ultraCheckEditor1";
this.ultraCheckEditor1.Size = new System.Drawing.Size(168, 20);
this.ultraCheckEditor1.TabIndex = 55;
this.ultraCheckEditor1.Text = "Contact Allowed";
//
// ultraButton1
//
this.ultraButton1.Location = new System.Drawing.Point(280, 8);
this.ultraButton1.Name = "ultraButton1";
this.ultraButton1.TabIndex = 0;
this.ultraButton1.Text = "&Cancel";
//
// ultraButton2
//
this.ultraButton2.Location = new System.Drawing.Point(200, 8);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.TabIndex = 1;
this.ultraButton2.Text = "&OK";
//
// ContactInfo
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(352, 117);
this.Controls.Add(this.ultraCheckEditor1);
this.Controls.Add(this.ultraGroupBox1);
this.Controls.Add(this.ultraTextEditor1);
this.Controls.Add(this.ultraLabel2);
this.Controls.Add(this.ultraCombo2);
this.Controls.Add(this.ultraLabel1);
this.Name = "ContactInfo";
this.Text = "ContactInfo";
((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).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 + -