Exemplo n.º 1
0
 // Draw the tree.
 private void treePictureBox_Paint(object sender, PaintEventArgs e)
 {
     e.Graphics.SmoothingMode     = SmoothingMode.AntiAlias;
     e.Graphics.TextRenderingHint = TextRenderingHint.AntiAliasGridFit;
     Root.DrawTree(e.Graphics, Brushes.LightBlue, Pens.Blue, Brushes.Black, treePictureBox.Font);
 }