C2026-043-Tech-Debt_v1 - Stash 1
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
//using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
//using System.Data;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
@@ -52,8 +48,6 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
SizeF txtSize = e.Graphics.MeasureString(_Caption, this.Font);
|
||||
//Use a gray rectangle to show that the underlying control is inactive
|
||||
//using (Brush b2 = new SolidBrush(Color.FromArgb(_Alpha, this.BackColor)))
|
||||
// e.Graphics.FillRectangle(b2, this.ClientRectangle);
|
||||
using (Brush b = new SolidBrush(Color.FromArgb(_Alpha, this.ForeColor)))
|
||||
e.Graphics.DrawString(_Caption, this.Font, b, this.Width - txtSize.Width, 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user