📄 ucorganizationsform.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace Tracker7UI.plugins.Organizations
{
/// <summary>
/// Summary description for UCOrganizationsForm.
/// </summary>
public class UCOrganizationsForm : System.Windows.Forms.UserControl
{
private Infragistics.Win.UltraWinSchedule.UltraCalendarInfo ultraCalendarInfo1;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo2;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
private Infragistics.Win.Misc.UltraLabel ultraLabel5;
private Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit ultraMaskedEdit2;
private Infragistics.Win.Misc.UltraLabel lblFileNumber;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
private Infragistics.Win.Misc.UltraLabel lblPreferredName;
private Infragistics.Win.UltraWinEditors.UltraTextEditor txtMiddleName;
private Infragistics.Win.Misc.UltraLabel lblMiddleName;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
private Infragistics.Win.Misc.UltraLabel lblSalutation;
private Infragistics.Win.Misc.UltraLabel lblClientNumber;
private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
private Infragistics.Win.Misc.UltraLabel lblCategory;
private Infragistics.Win.Misc.UltraLabel ultraLabel1;
private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
private Infragistics.Win.Misc.UltraButton ultraButton2;
private Infragistics.Win.Misc.UltraLabel lblMatterNumber;
private Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit txtMatterNumber;
private System.ComponentModel.IContainer components;
public UCOrganizationsForm()
{
// 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();
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
this.ultraCalendarInfo1 = new Infragistics.Win.UltraWinSchedule.UltraCalendarInfo(this.components);
this.ultraCombo2 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
this.ultraMaskedEdit2 = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
this.lblFileNumber = 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.lblMiddleName = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.lblSalutation = new Infragistics.Win.Misc.UltraLabel();
this.lblClientNumber = new Infragistics.Win.Misc.UltraLabel();
this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
this.lblCategory = new Infragistics.Win.Misc.UltraLabel();
this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
this.lblMatterNumber = new Infragistics.Win.Misc.UltraLabel();
this.txtMatterNumber = new Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtMiddleName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
this.SuspendLayout();
//
// ultraCalendarInfo1
//
this.ultraCalendarInfo1.DataBindingsForAppointments.BindingContextControl = this;
this.ultraCalendarInfo1.DataBindingsForOwners.BindingContextControl = this;
//
// 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(576, 32);
this.ultraCombo2.Name = "ultraCombo2";
this.ultraCombo2.Size = new System.Drawing.Size(145, 21);
this.ultraCombo2.TabIndex = 126;
this.ultraCombo2.Text = "Company/School/...";
this.ultraCombo2.ValueMember = "";
//
// ultraTextEditor3
//
this.ultraTextEditor3.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor3.Location = new System.Drawing.Point(94, 80);
this.ultraTextEditor3.Multiline = true;
this.ultraTextEditor3.Name = "ultraTextEditor3";
this.ultraTextEditor3.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor3.Size = new System.Drawing.Size(386, 21);
this.ultraTextEditor3.TabIndex = 124;
//
// ultraLabel5
//
this.ultraLabel5.Location = new System.Drawing.Point(6, 83);
this.ultraLabel5.Name = "ultraLabel5";
this.ultraLabel5.Size = new System.Drawing.Size(85, 16);
this.ultraLabel5.TabIndex = 123;
this.ultraLabel5.Text = "Comment";
//
// ultraMaskedEdit2
//
this.ultraMaskedEdit2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraMaskedEdit2.Location = new System.Drawing.Point(576, 56);
this.ultraMaskedEdit2.Name = "ultraMaskedEdit2";
this.ultraMaskedEdit2.PromptChar = ' ';
this.ultraMaskedEdit2.Size = new System.Drawing.Size(145, 20);
this.ultraMaskedEdit2.TabIndex = 119;
this.ultraMaskedEdit2.Text = "12345";
//
// lblFileNumber
//
this.lblFileNumber.Location = new System.Drawing.Point(483, 58);
this.lblFileNumber.Name = "lblFileNumber";
this.lblFileNumber.Size = new System.Drawing.Size(85, 16);
this.lblFileNumber.TabIndex = 118;
this.lblFileNumber.Text = "Client Number";
//
// ultraTextEditor4
//
this.ultraTextEditor4.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor4.Location = new System.Drawing.Point(335, 32);
this.ultraTextEditor4.Name = "ultraTextEditor4";
this.ultraTextEditor4.Size = new System.Drawing.Size(145, 21);
this.ultraTextEditor4.TabIndex = 115;
this.ultraTextEditor4.Text = "J-Joe";
//
// lblPreferredName
//
this.lblPreferredName.Location = new System.Drawing.Point(246, 35);
this.lblPreferredName.Name = "lblPreferredName";
this.lblPreferredName.Size = new System.Drawing.Size(85, 16);
this.lblPreferredName.TabIndex = 114;
this.lblPreferredName.Text = "Preferred Name";
//
// txtMiddleName
//
this.txtMiddleName.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.txtMiddleName.Location = new System.Drawing.Point(94, 32);
this.txtMiddleName.Name = "txtMiddleName";
this.txtMiddleName.Size = new System.Drawing.Size(145, 21);
this.txtMiddleName.TabIndex = 113;
this.txtMiddleName.Text = "ImmigrationTracker";
//
// lblMiddleName
//
this.lblMiddleName.Location = new System.Drawing.Point(6, 35);
this.lblMiddleName.Name = "lblMiddleName";
this.lblMiddleName.Size = new System.Drawing.Size(85, 16);
this.lblMiddleName.TabIndex = 112;
this.lblMiddleName.Text = "Short Name";
//
// ultraTextEditor2
//
this.ultraTextEditor2.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor2.Location = new System.Drawing.Point(94, 8);
this.ultraTextEditor2.Name = "ultraTextEditor2";
this.ultraTextEditor2.Size = new System.Drawing.Size(386, 21);
this.ultraTextEditor2.TabIndex = 109;
this.ultraTextEditor2.Text = "ImmigrationTracker LLC (a.k.a PC Legal Tools)";
//
// lblSalutation
//
this.lblSalutation.Location = new System.Drawing.Point(6, 58);
this.lblSalutation.Name = "lblSalutation";
this.lblSalutation.Size = new System.Drawing.Size(85, 16);
this.lblSalutation.TabIndex = 116;
this.lblSalutation.Text = "Web site";
//
// lblClientNumber
//
this.lblClientNumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblClientNumber.Location = new System.Drawing.Point(483, 34);
this.lblClientNumber.Name = "lblClientNumber";
this.lblClientNumber.Size = new System.Drawing.Size(85, 16);
this.lblClientNumber.TabIndex = 106;
this.lblClientNumber.Text = "Org Type";
//
// ultraTextEditor7
//
appearance1.ForeColor = System.Drawing.Color.Blue;
this.ultraTextEditor7.Appearance = appearance1;
this.ultraTextEditor7.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.ultraTextEditor7.Location = new System.Drawing.Point(94, 56);
this.ultraTextEditor7.Multiline = true;
this.ultraTextEditor7.Name = "ultraTextEditor7";
this.ultraTextEditor7.Scrollbars = System.Windows.Forms.ScrollBars.Vertical;
this.ultraTextEditor7.Size = new System.Drawing.Size(386, 21);
this.ultraTextEditor7.TabIndex = 136;
this.ultraTextEditor7.Text = "http://www.immigrationtracker.com";
//
// 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(576, 8);
this.ultraCombo1.Name = "ultraCombo1";
this.ultraCombo1.Size = new System.Drawing.Size(145, 21);
this.ultraCombo1.TabIndex = 138;
this.ultraCombo1.Text = "Contract level A";
this.ultraCombo1.ValueMember = "";
//
// lblCategory
//
this.lblCategory.Location = new System.Drawing.Point(483, 11);
this.lblCategory.Name = "lblCategory";
this.lblCategory.Size = new System.Drawing.Size(85, 16);
this.lblCategory.TabIndex = 137;
this.lblCategory.Text = "Category";
//
// ultraLabel1
//
this.ultraLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.ultraLabel1.Location = new System.Drawing.Point(6, 11);
this.ultraLabel1.Name = "ultraLabel1";
this.ultraLabel1.Size = new System.Drawing.Size(85, 16);
this.ultraLabel1.TabIndex = 139;
this.ultraLabel1.Text = "Name";
//
// ultraCheckEditor1
//
this.ultraCheckEditor1.FlatMode = true;
this.ultraCheckEditor1.Location = new System.Drawing.Point(483, 105);
this.ultraCheckEditor1.Name = "ultraCheckEditor1";
this.ultraCheckEditor1.Size = new System.Drawing.Size(232, 20);
this.ultraCheckEditor1.TabIndex = 140;
this.ultraCheckEditor1.Text = "Active";
//
// ultraButton2
//
this.ultraButton2.FlatMode = true;
this.ultraButton2.Location = new System.Drawing.Point(696, 80);
this.ultraButton2.Name = "ultraButton2";
this.ultraButton2.Size = new System.Drawing.Size(24, 20);
this.ultraButton2.TabIndex = 143;
this.ultraButton2.Text = "...";
//
// lblMatterNumber
//
this.lblMatterNumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.lblMatterNumber.Location = new System.Drawing.Point(483, 83);
this.lblMatterNumber.Name = "lblMatterNumber";
this.lblMatterNumber.Size = new System.Drawing.Size(83, 16);
this.lblMatterNumber.TabIndex = 142;
this.lblMatterNumber.Text = "Parent Org.";
//
// txtMatterNumber
//
appearance2.FontData.UnderlineAsString = "False";
appearance2.ForeColor = System.Drawing.Color.Blue;
this.txtMatterNumber.Appearance = appearance2;
this.txtMatterNumber.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2003;
this.txtMatterNumber.Location = new System.Drawing.Point(576, 80);
this.txtMatterNumber.Name = "txtMatterNumber";
this.txtMatterNumber.PromptChar = ' ';
this.txtMatterNumber.Size = new System.Drawing.Size(123, 20);
this.txtMatterNumber.TabIndex = 141;
this.txtMatterNumber.Text = "Org. Name";
//
// UCOrganizationsForm
//
this.Controls.Add(this.ultraButton2);
this.Controls.Add(this.lblMatterNumber);
this.Controls.Add(this.txtMatterNumber);
this.Controls.Add(this.ultraCheckEditor1);
this.Controls.Add(this.ultraLabel1);
this.Controls.Add(this.ultraCombo1);
this.Controls.Add(this.lblCategory);
this.Controls.Add(this.ultraTextEditor7);
this.Controls.Add(this.ultraCombo2);
this.Controls.Add(this.ultraTextEditor3);
this.Controls.Add(this.ultraLabel5);
this.Controls.Add(this.ultraMaskedEdit2);
this.Controls.Add(this.lblFileNumber);
this.Controls.Add(this.ultraTextEditor4);
this.Controls.Add(this.lblPreferredName);
this.Controls.Add(this.txtMiddleName);
this.Controls.Add(this.lblMiddleName);
this.Controls.Add(this.ultraTextEditor2);
this.Controls.Add(this.lblSalutation);
this.Controls.Add(this.lblClientNumber);
this.Name = "UCOrganizationsForm";
this.Size = new System.Drawing.Size(730, 450);
((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txtMiddleName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -