added files
This commit is contained in:
commit
b502964c9a
25 files changed
+1769
No files matched your search
@@ -0,0 +1,20 @@
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
internal class Ctl : Control
|
||||
{
|
||||
public Ctl()
|
||||
{
|
||||
SetStyle(ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, value: true);
|
||||
BackColor = G.Card;
|
||||
Cursor = Cursors.Hand;
|
||||
}
|
||||
|
||||
protected void Prep(Graphics g)
|
||||
{
|
||||
g.SmoothingMode = SmoothingMode.AntiAlias;
|
||||
g.TextRenderingHint = TextRenderingHint.ClearTypeGridFit;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user