Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Graphics gph = this.CreateGraphics();
- GraphicsPath fontpath = new GraphicsPath();
- FontFamily fFamily = new FontFamily("Microsoft Sans Serif");
- FontStyle fStyle = FontStyle.Regular;
- StringFormat sFormat = StringFormat.GenericDefault;
- int fontSize = 12;
- fontpath.AddString("Host / IP", fFamily, (int)fStyle, fontSize, new Point(7, 65), sFormat);
- fontpath.AddString("Port", fFamily, (int)fStyle, fontSize, new Point(7, 92), sFormat);
- fontpath.AddString("User Name", fFamily, (int)fStyle, fontSize, new Point(7, 142), sFormat);
- fontpath.AddString("Password", fFamily, (int)fStyle, fontSize, new Point(7, 169), sFormat);
- fontpath.AddString("DataBase", fFamily, (int)fStyle, fontSize, new Point(7, 219), sFormat);
- gph.SmoothingMode = SmoothingMode.HighQuality;
- gph.FillPath(Brushes.Black, fontpath);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement