Guest User

drawpiece

a guest
Feb 27th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. private void drawpiece(Tile t, string s)
  2.         {
  3.             Graphics g = t.CreateGraphics();
  4.             t.Refresh();
  5.             g.DrawString(s, new Font("Arial", 25), Brushes.Black, new Point(10, 16));
  6.         }
Advertisement
Add Comment
Please, Sign In to add comment