示例#1
0
 protected override void OnPaint(PaintEventArgs e)
 {
     if (set)
     {
         layout.DrawNode(e.Graphics, nodePreview, 0, 0, 1);
     }
     else
     {
         base.OnPaint(e);
     }
 }