VC2008分形树代码分析和总结.docxVIP

  • 3
  • 0
  • 约1.47千字
  • 约 3页
  • 2024-06-28 发布于上海
  • 举报

使用分形原理采用vc#2008编写画出一棵树的分形

usingSystem;

usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;

usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;

usingSystem.Windows.Forms;usingSystem.Drawing.Drawing2D;

namespaceWindowsFormsApplication1

{

publicpartialclassForm1:Form

{

publicForm1()

{

InitializeComponent();

}

privatevoidForm1_Load(objectsender,EventArgse)

{

}

privatevoidForm1_Paint(objectsender,PaintEventArgse)

{

PengreenPen=newPen(Color.Green,3);

RandomrandNum=newRandom(unchecked((int)DateTime.Now.Ticks));Graphicsdc=e.Gra

文档评论(0)

1亿VIP精品文档

相关文档