Description: Create a diamond pattern C# tangram-C#, during which use of the process, the example applies to Windows Forms, and it requires PaintEventArgs e, an OnPaint event object. The code performs the following actions: create two paths: a head-on the triangle, another triangle upside down. Add a second path to the first path. Draw the final path to the screen. Set the control style for double buffering, the picture flashes can be effective in reducing the problem
To Search:
File list (Check if you may need any files):
qiqiaobansrc\七巧板\bin\Debug\GraphicsPath创建菱形.vshost.exe
............\......\...\.....\GraphicsPath创建菱形.vshost.exe.manifest
............\......\...\.....\s1.JPG
............\......\...\.....\s2.JPG
............\......\CChip.cs
............\......\ClassDiagram1.cd
............\......\Form1.cs
............\......\Form1.Designer.cs
............\......\Form1.resx
............\......\Form2.cs
............\......\Form2.Designer.cs
............\......\Form2.resx
............\......\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
............\......\...\.....\GraphicsPath.csproj.FileListAbsolute.txt
............\......\...\.....\GraphicsPath.csproj.GenerateResource.Cache
............\......\...\.....\GraphicsPath创建菱形.csproj.FileListAbsolute.txt
............\......\...\.....\GraphicsPath创建菱形.csproj.GenerateResource.Cache
............\......\...\.....\TempPE\Properties.Resources.Designer.cs.dll
............\......\Program.cs
............\......\...perties\AssemblyInfo.cs
............\......\..........\Resources.Designer.cs
............\......\..........\Resources.resx
............\......\..........\Settings.Designer.cs
............\......\..........\Settings.settings
............\......\七巧板.csproj
............\......\七巧板.sln
............\......\七巧板.suo
............\......\图例\s1.JPG
............\......\....\s2.JPG
............\......\obj\Debug\TempPE
............\......\...\.....\Refactor
............\......\bin\Debug
............\......\...\Release
............\......\obj\Debug
............\......\bin
............\......\obj
............\......\Properties
............\......\图例
............\七巧板
qiqiaobansrc