- 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)