using System.Drawing; using System.Windows.Forms; namespace UserControlClass { public partial class UCNextSenseOneItem : UserControl { public UCNextSenseOneItem() { InitializeComponent(); } public string labTitleText { get { return labTitle.Text; } set { labTitle.Text = value; } } public string labFGText { get { return labFGName.Text; } set { labFGName.Text = value; } } public string labValue { get { return labFGValue.Text; } set { labFGValue.Text = value; } } public string labLowerUpper { get { return labFGLU.Text; } set { labFGLU.Text = value; } } public Color tlpBackColor { get { return tlpTitle.BackColor; } set { tlpTitle.BackColor = value; } } public Color tlpFGBackColor { get { return tlpFG.BackColor; } set { tlpFG.BackColor = value; } } } }