SHARE
TWEET

Untitled

a guest Jun 19th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Graphics gph = this.CreateGraphics();
  2.             GraphicsPath fontpath = new GraphicsPath();
  3.  
  4.             FontFamily fFamily = new FontFamily("Microsoft Sans Serif");
  5.             FontStyle fStyle = FontStyle.Regular;
  6.             StringFormat sFormat = StringFormat.GenericDefault;
  7.  
  8.             int fontSize = 12;
  9.  
  10.             fontpath.AddString("Host / IP", fFamily, (int)fStyle, fontSize, new Point(7, 65), sFormat);
  11.             fontpath.AddString("Port", fFamily, (int)fStyle, fontSize, new Point(7, 92), sFormat);
  12.             fontpath.AddString("User Name", fFamily, (int)fStyle, fontSize, new Point(7, 142), sFormat);
  13.             fontpath.AddString("Password", fFamily, (int)fStyle, fontSize, new Point(7, 169), sFormat);
  14.             fontpath.AddString("DataBase", fFamily, (int)fStyle, fontSize, new Point(7, 219), sFormat);
  15.  
  16.             gph.SmoothingMode = SmoothingMode.HighQuality;
  17.             gph.FillPath(Brushes.Black, fontpath);
RAW Paste Data
Want to get better at C#?
Learn to code C# in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top