📄 ucpersonstatus.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace Tracker7UI.plugins.People
{
/// <summary>
/// Summary description for UCPersonStatus.
/// </summary>
public class UCPersonStatus : System.Windows.Forms.UserControl
{
private System.Windows.Forms.Label lblCountry;
private Tracker7UI.common.UCCountryList ucCountryList1;
private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor3;
private System.Windows.Forms.Label label5;
private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label10;
private Tracker7UI.common.UCDate ucDate10;
private System.Windows.Forms.Label label11;
private Tracker7UI.common.UCDate ucDate11;
private System.Windows.Forms.Label label8;
private Tracker7UI.common.UCDate ucDate8;
private System.Windows.Forms.Label label7;
private Tracker7UI.common.UCDate ucDate7;
private System.Windows.Forms.Label label6;
private Tracker7UI.common.UCDate ucDate6;
private System.Windows.Forms.Label label4;
private Tracker7UI.common.UCDate ucDate4;
private System.Windows.Forms.Label label3;
private Tracker7UI.common.UCDate ucDate3;
private System.Windows.Forms.Label label2;
private Tracker7UI.common.UCDate ucDate2;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
private Infragistics.Win.Misc.UltraLabel ultraLabel8;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
private Infragistics.Win.Misc.UltraLabel ultraLabel7;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public UCPersonStatus()
{
// This call is required by the Windows.Forms Form Designer.
InitializeComponent();
// TODO: Add any initialization after the 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 Component 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()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(UCPersonStatus));
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();
Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
this.lblCountry = new System.Windows.Forms.Label();
this.ucCountryList1 = new Tracker7UI.common.UCCountryList();
this.ultraComboEditor3 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.label5 = new System.Windows.Forms.Label();
this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
this.label1 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.ucDate10 = new Tracker7UI.common.UCDate();
this.label11 = new System.Windows.Forms.Label();
this.ucDate11 = new Tracker7UI.common.UCDate();
this.label8 = new System.Windows.Forms.Label();
this.ucDate8 = new Tracker7UI.common.UCDate();
this.label7 = new System.Windows.Forms.Label();
this.ucDate7 = new Tracker7UI.common.UCDate();
this.label6 = new System.Windows.Forms.Label();
this.ucDate6 = new Tracker7UI.common.UCDate();
this.label4 = new System.Windows.Forms.Label();
this.ucDate4 = new Tracker7UI.common.UCDate();
this.label3 = new System.Windows.Forms.Label();
this.ucDate3 = new Tracker7UI.common.UCDate();
this.label2 = new System.Windows.Forms.Label();
this.ucDate2 = new Tracker7UI.common.UCDate();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
this.SuspendLayout();
//
// lblCountry
//
this.lblCountry.AccessibleDescription = resources.GetString("lblCountry.AccessibleDescription");
this.lblCountry.AccessibleName = resources.GetString("lblCountry.AccessibleName");
this.lblCountry.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCountry.Anchor")));
this.lblCountry.AutoSize = ((bool)(resources.GetObject("lblCountry.AutoSize")));
this.lblCountry.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCountry.Dock")));
this.lblCountry.Enabled = ((bool)(resources.GetObject("lblCountry.Enabled")));
this.lblCountry.Font = ((System.Drawing.Font)(resources.GetObject("lblCountry.Font")));
this.lblCountry.Image = ((System.Drawing.Image)(resources.GetObject("lblCountry.Image")));
this.lblCountry.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCountry.ImageAlign")));
this.lblCountry.ImageIndex = ((int)(resources.GetObject("lblCountry.ImageIndex")));
this.lblCountry.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCountry.ImeMode")));
this.lblCountry.Location = ((System.Drawing.Point)(resources.GetObject("lblCountry.Location")));
this.lblCountry.Name = "lblCountry";
this.lblCountry.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCountry.RightToLeft")));
this.lblCountry.Size = ((System.Drawing.Size)(resources.GetObject("lblCountry.Size")));
this.lblCountry.TabIndex = ((int)(resources.GetObject("lblCountry.TabIndex")));
this.lblCountry.Text = resources.GetString("lblCountry.Text");
this.lblCountry.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCountry.TextAlign")));
this.lblCountry.Visible = ((bool)(resources.GetObject("lblCountry.Visible")));
//
// ucCountryList1
//
this.ucCountryList1.AccessibleDescription = resources.GetString("ucCountryList1.AccessibleDescription");
this.ucCountryList1.AccessibleName = resources.GetString("ucCountryList1.AccessibleName");
this.ucCountryList1.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("ucCountryList1.Anchor")));
this.ucCountryList1.AutoScroll = ((bool)(resources.GetObject("ucCountryList1.AutoScroll")));
this.ucCountryList1.AutoScrollMargin = ((System.Drawing.Size)(resources.GetObject("ucCountryList1.AutoScrollMargin")));
this.ucCountryList1.AutoScrollMinSize = ((System.Drawing.Size)(resources.GetObject("ucCountryList1.AutoScrollMinSize")));
this.ucCountryList1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ucCountryList1.BackgroundImage")));
this.ucCountryList1.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("ucCountryList1.Dock")));
this.ucCountryList1.Enabled = ((bool)(resources.GetObject("ucCountryList1.Enabled")));
this.ucCountryList1.Font = ((System.Drawing.Font)(resources.GetObject("ucCountryList1.Font")));
this.ucCountryList1.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("ucCountryList1.ImeMode")));
this.ucCountryList1.Location = ((System.Drawing.Point)(resources.GetObject("ucCountryList1.Location")));
this.ucCountryList1.Name = "ucCountryList1";
this.ucCountryList1.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("ucCountryList1.RightToLeft")));
this.ucCountryList1.Size = ((System.Drawing.Size)(resources.GetObject("ucCountryList1.Size")));
this.ucCountryList1.TabIndex = ((int)(resources.GetObject("ucCountryList1.TabIndex")));
this.ucCountryList1.Visible = ((bool)(resources.GetObject("ucCountryList1.Visible")));
//
// ultraComboEditor3
//
this.ultraComboEditor3.AccessibleDescription = resources.GetString("ultraComboEditor3.AccessibleDescription");
this.ultraComboEditor3.AccessibleName = resources.GetString("ultraComboEditor3.AccessibleName");
this.ultraComboEditor3.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("ultraComboEditor3.Anchor")));
this.ultraComboEditor3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ultraComboEditor3.BackgroundImage")));
this.ultraComboEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraComboEditor3.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("ultraComboEditor3.Dock")));
this.ultraComboEditor3.Enabled = ((bool)(resources.GetObject("ultraComboEditor3.Enabled")));
this.ultraComboEditor3.Font = ((System.Drawing.Font)(resources.GetObject("ultraComboEditor3.Font")));
this.ultraComboEditor3.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("ultraComboEditor3.ImeMode")));
valueListItem1.DataValue = "ValueListItem0";
valueListItem1.DisplayText = resources.GetString("valueListItem1.DisplayText");
valueListItem2.DataValue = "ValueListItem1";
valueListItem2.DisplayText = resources.GetString("valueListItem2.DisplayText");
valueListItem3.DataValue = "ValueListItem2";
valueListItem3.DisplayText = resources.GetString("valueListItem3.DisplayText");
valueListItem4.DataValue = "ValueListItem3";
valueListItem4.DisplayText = resources.GetString("valueListItem4.DisplayText");
valueListItem5.DataValue = "ValueListItem4";
valueListItem5.DisplayText = resources.GetString("valueListItem5.DisplayText");
valueListItem6.DataValue = "ValueListItem5";
valueListItem6.DisplayText = resources.GetString("valueListItem6.DisplayText");
this.ultraComboEditor3.Items.Add(valueListItem1);
this.ultraComboEditor3.Items.Add(valueListItem2);
this.ultraComboEditor3.Items.Add(valueListItem3);
this.ultraComboEditor3.Items.Add(valueListItem4);
this.ultraComboEditor3.Items.Add(valueListItem5);
this.ultraComboEditor3.Items.Add(valueListItem6);
this.ultraComboEditor3.Location = ((System.Drawing.Point)(resources.GetObject("ultraComboEditor3.Location")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -