基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Lskj.BsMes.Controls
|
||||
{
|
||||
public partial class LabelAutoGridLookUp : UserControl
|
||||
{/// <summary>
|
||||
/// this label控件
|
||||
/// </summary>
|
||||
private DevExpress.XtraEditors.LabelControl _imageLabel;
|
||||
public DevExpress.XtraEditors.LabelControl ImageLabel
|
||||
{
|
||||
get
|
||||
{
|
||||
_imageLabel = this.imageLabel;
|
||||
return _imageLabel;
|
||||
}
|
||||
set { _imageLabel = value; }
|
||||
}
|
||||
private Lskj.Control.AutoGridLookUp _autoGridLookUp;
|
||||
/// <summary>
|
||||
/// this ComboBox控件
|
||||
/// </summary>
|
||||
public Lskj.Control.AutoGridLookUp AutoGridLookUp
|
||||
{
|
||||
get
|
||||
{
|
||||
_autoGridLookUp = this.autoGridLookUp;
|
||||
return _autoGridLookUp;
|
||||
}
|
||||
set { _autoGridLookUp = value; }
|
||||
}
|
||||
public LabelAutoGridLookUp()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Load += new EventHandler(OnLabelAutoGridLookUp_Load);
|
||||
}
|
||||
|
||||
private void OnLabelAutoGridLookUp_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.imageLabel.Width = this.Height;
|
||||
this.autoGridLookUp.BackColor = this.BackColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user