📄 uclookup.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace Tracker7UI.common
{
/// <summary>
/// Summary description for UCLookup.
/// </summary>
public class UCLookup : System.Windows.Forms.UserControl
{
private Infragistics.Win.UltraWinEditors.UltraTextEditor txtText;
private Infragistics.Win.Misc.UltraButton btnLookup;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public UCLookup()
{
// 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.txtText = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
this.btnLookup = new Infragistics.Win.Misc.UltraButton();
((System.ComponentModel.ISupportInitialize)(this.txtText)).BeginInit();
this.SuspendLayout();
//
// txtText
//
this.txtText.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtText.Location = new System.Drawing.Point(0, 0);
this.txtText.Name = "txtText";
this.txtText.Size = new System.Drawing.Size(208, 21);
this.txtText.TabIndex = 0;
//
// btnLookup
//
this.btnLookup.Dock = System.Windows.Forms.DockStyle.Right;
this.btnLookup.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.btnLookup.Location = new System.Drawing.Point(184, 0);
this.btnLookup.Name = "btnLookup";
this.btnLookup.Size = new System.Drawing.Size(24, 24);
this.btnLookup.TabIndex = 1;
this.btnLookup.Text = "...";
//
// UCLookup
//
this.Controls.Add(this.btnLookup);
this.Controls.Add(this.txtText);
this.Name = "UCLookup";
this.Size = new System.Drawing.Size(208, 24);
((System.ComponentModel.ISupportInitialize)(this.txtText)).EndInit();
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -