#region Imports
|
|
using DPumpHydr.WinFrmUI.RLT.Util;
|
using System.Drawing;
|
using System.Windows.Forms;
|
|
#endregion
|
|
namespace DPumpHydr.WinFrmUI.RLT.Controls
|
{
|
#region LostLabel
|
|
public class LostLabel : ControlLostBase
|
{
|
public LostLabel() : base()
|
{
|
ForeColor = Color.White;
|
}
|
|
protected override void OnPaintBackground(PaintEventArgs pevent)
|
{
|
pevent.Graphics.FillRectangle(new SolidBrush(BackColor), pevent.ClipRectangle);
|
}
|
|
protected override void OnPaint(PaintEventArgs e)
|
{
|
e.Graphics.DrawString(Text, Font, new SolidBrush(ForeColor), 0, 0);
|
}
|
}
|
|
#endregion
|
}
|