基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.BsMes.Controls
|
||||
{
|
||||
public partial class LabelTextBoxEdit : UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// this label控件
|
||||
/// </summary>
|
||||
private DevExpress.XtraEditors.LabelControl _imageLabel;
|
||||
public DevExpress.XtraEditors.LabelControl ImageLabel
|
||||
{
|
||||
get
|
||||
{
|
||||
_imageLabel = this.imageLabel;
|
||||
return _imageLabel;
|
||||
}
|
||||
}
|
||||
private DevExpress.XtraEditors.TextEdit _textBoxEdit;
|
||||
/// <summary>
|
||||
/// this ComboBox控件
|
||||
/// </summary>
|
||||
public DevExpress.XtraEditors.TextEdit TextBoxEdit
|
||||
{
|
||||
get
|
||||
{
|
||||
_textBoxEdit = this.textBoxEdit;
|
||||
return _textBoxEdit;
|
||||
}
|
||||
}
|
||||
public LabelTextBoxEdit()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Load += new EventHandler(OnLableTextBoxEdit_Load);
|
||||
}
|
||||
/// <summary>
|
||||
/// 初始化
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void OnLableTextBoxEdit_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.imageLabel.Width = this.Height;
|
||||
this.textBoxEdit.BackColor = this.BackColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user