📄 ucpersonform.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 UCPersonForm.
/// </summary>
public class UCPersonForm : System.Windows.Forms.UserControl
{
private Infragistics.Win.UltraWinEditors.UltraPictureBox ultraPictureBox1;
private Infragistics.Win.UltraWinSchedule.UltraCalendarInfo ultraCalendarInfo1;
private Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit txtClientNumber;
private Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit txtMatterNumber;
private Infragistics.Win.Misc.UltraLabel lblClientNumber;
private Infragistics.Win.Misc.UltraLabel lblMatterNumber;
private Infragistics.Win.Misc.UltraLabel lblSuffix;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
private Infragistics.Win.Misc.UltraLabel lblPreferredName;
private Infragistics.Win.UltraWinEditors.UltraTextEditor txtMiddleName;
private Infragistics.Win.UltraWinEditors.UltraTextEditor txtFirstName;
private Infragistics.Win.Misc.UltraLabel lblMiddleName;
private Infragistics.Win.Misc.UltraLabel lblLastName;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
private Infragistics.Win.Misc.UltraLabel lblFirstName;
private Infragistics.Win.Misc.UltraLabel lblSalutation;
private Infragistics.Win.Misc.UltraLabel lblFileNumber;
private Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit ultraMaskedEdit2;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
private Infragistics.Win.Misc.UltraLabel ultraLabel5;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo3;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo4;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
private Infragistics.Win.Misc.UltraLabel ultraLabel2;
private Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit ultraMaskedEdit1;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
private Infragistics.Win.Misc.UltraLabel ultraLabel3;
private System.ComponentModel.IContainer components;
public UCPersonForm()
{
// 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()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(UCPersonForm));
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
this.ultraPictureBox1 = new Infragistics.Win.UltraWinEditors.UltraPictureBox();
this.ultraCalendarInfo1 = new Infragistics.Win.UltraWinSchedule.UltraCalendarInfo(this.components);
this.txtClientNumber = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
this.txtMatterNumber = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
this.lblClientNumber = new Infragistics.Win.Misc.UltraLabel();
this.lblMatterNumber = new Infragistics.Win.Misc.UltraLabel();
this.lblSuffix = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.lblPreferredName = new Infragistics.Win.Misc.UltraLabel();
this.txtMiddleName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.txtFirstName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.lblMiddleName = new Infragistics.Win.Misc.UltraLabel();
this.lblLastName = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.lblFirstName = new Infragistics.Win.Misc.UltraLabel();
this.lblSalutation = new Infragistics.Win.Misc.UltraLabel();
this.lblFileNumber = new Infragistics.Win.Misc.UltraLabel();
this.ultraMaskedEdit2 = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCombo3 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraCombo4 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
this.ultraMaskedEdit1 = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtMiddleName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtFirstName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
this.SuspendLayout();
//
// ultraPictureBox1
//
this.ultraPictureBox1.BorderShadowColor = System.Drawing.Color.Empty;
this.ultraPictureBox1.Image = ((object)(resources.GetObject("ultraPictureBox1.Image")));
this.ultraPictureBox1.Location = new System.Drawing.Point(8, 344);
this.ultraPictureBox1.Name = "ultraPictureBox1";
this.ultraPictureBox1.Size = new System.Drawing.Size(152, 61);
this.ultraPictureBox1.TabIndex = 6;
//
// ultraCalendarInfo1
//
this.ultraCalendarInfo1.DataBindingsForAppointments.BindingContextControl = this;
this.ultraCalendarInfo1.DataBindingsForOwners.BindingContextControl = this;
//
// txtClientNumber
//
this.txtClientNumber.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.txtClientNumber.Location = new System.Drawing.Point(579, 31);
this.txtClientNumber.Name = "txtClientNumber";
this.txtClientNumber.PromptChar = ' ';
this.txtClientNumber.Size = new System.Drawing.Size(145, 20);
this.txtClientNumber.TabIndex = 22;
this.txtClientNumber.Text = "012345";
//
// txtMatterNumber
//
this.txtMatterNumber.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.txtMatterNumber.Location = new System.Drawing.Point(579, 55);
this.txtMatterNumber.Name = "txtMatterNumber";
this.txtMatterNumber.PromptChar = ' ';
this.txtMatterNumber.Size = new System.Drawing.Size(145, 20);
this.txtMatterNumber.TabIndex = 23;
this.txtMatterNumber.Text = "678900";
//
// lblClientNumber
//
this.lblClientNumber.Location = new System.Drawing.Point(488, 34);
this.lblClientNumber.Name = "lblClientNumber";
this.lblClientNumber.Size = new System.Drawing.Size(85, 16);
this.lblClientNumber.TabIndex = 24;
this.lblClientNumber.Text = "Client Number";
//
// lblMatterNumber
//
this.lblMatterNumber.Location = new System.Drawing.Point(488, 58);
this.lblMatterNumber.Name = "lblMatterNumber";
this.lblMatterNumber.Size = new System.Drawing.Size(85, 16);
this.lblMatterNumber.TabIndex = 25;
this.lblMatterNumber.Text = "Matter Number";
//
// lblSuffix
//
this.lblSuffix.Location = new System.Drawing.Point(242, 58);
this.lblSuffix.Name = "lblSuffix";
this.lblSuffix.Size = new System.Drawing.Size(85, 16);
this.lblSuffix.TabIndex = 40;
this.lblSuffix.Text = "Suffix";
//
// ultraTextEditor4
//
this.ultraTextEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor4.Location = new System.Drawing.Point(336, 32);
this.ultraTextEditor4.Name = "ultraTextEditor4";
this.ultraTextEditor4.Size = new System.Drawing.Size(145, 21);
this.ultraTextEditor4.TabIndex = 37;
this.ultraTextEditor4.Text = "J-Joe";
//
// lblPreferredName
//
this.lblPreferredName.Location = new System.Drawing.Point(242, 35);
this.lblPreferredName.Name = "lblPreferredName";
this.lblPreferredName.Size = new System.Drawing.Size(85, 16);
this.lblPreferredName.TabIndex = 36;
this.lblPreferredName.Text = "Preferred Name";
//
// txtMiddleName
//
this.txtMiddleName.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.txtMiddleName.Location = new System.Drawing.Point(96, 32);
this.txtMiddleName.Name = "txtMiddleName";
this.txtMiddleName.Size = new System.Drawing.Size(145, 21);
this.txtMiddleName.TabIndex = 35;
this.txtMiddleName.Text = "Jiggy";
//
// txtFirstName
//
this.txtFirstName.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.txtFirstName.Location = new System.Drawing.Point(336, 8);
this.txtFirstName.Name = "txtFirstName";
this.txtFirstName.Size = new System.Drawing.Size(145, 21);
this.txtFirstName.TabIndex = 33;
this.txtFirstName.Text = "Joe";
//
// lblMiddleName
//
this.lblMiddleName.Location = new System.Drawing.Point(5, 35);
this.lblMiddleName.Name = "lblMiddleName";
this.lblMiddleName.Size = new System.Drawing.Size(85, 16);
this.lblMiddleName.TabIndex = 34;
this.lblMiddleName.Text = "Middle Name";
//
// lblLastName
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -