資源簡介
C# 二維三維圖形繪制工程實例寶典(源碼)
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
namespace?Example2_1_1
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????protected?override?void?OnPaint(PaintEventArgs?e)
????????{
????????????Graphics?g?=?e.Graphics;
????????????using?(Pen?bluePen?=?new?Pen(Color.Blue?1))
????????????{
????????????????if?(ClientRectangle.Height?/?10?>?0)
????????????????{
????????????????????for?(int?y?=?0;?y????????????????????????y?+=?ClientRectangle.Height?/?10)
????????????????????{
????????????????????????g.DrawLine(bluePen?new?Point(0?0)
???????????????????????????new?Point(ClientRectangle.Width?y));
????????????????????}
????????????????}
????????????}
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????20480??2009-12-28?00:13??Chapter4\Example4_2_1\Example4_2_1\bin\Debug\Example4_2_1.exe
?????文件??????24064??2009-12-28?00:13??Chapter4\Example4_2_1\Example4_2_1\bin\Debug\Example4_2_1.pdb
?????文件???????5632??2009-12-28?00:14??Chapter4\Example4_2_1\Example4_2_1\bin\Debug\Example4_2_1.vshost.exe
?????文件???????3079??2009-12-27?23:49??Chapter4\Example4_2_1\Example4_2_1\Example4_2_1.csproj
?????文件???????2191??2009-12-28?00:13??Chapter4\Example4_2_1\Example4_2_1\Form1.cs
?????文件???????1173??2009-12-27?23:49??Chapter4\Example4_2_1\Example4_2_1\Form1.designer.cs
?????文件????????784??2009-12-27?23:49??Chapter4\Example4_2_1\Example4_2_1\obj\Debug\Example4_2_1.csproj.GenerateResource.Cache
?????文件??????20480??2009-12-28?00:13??Chapter4\Example4_2_1\Example4_2_1\obj\Debug\Example4_2_1.exe
?????文件??????24064??2009-12-28?00:13??Chapter4\Example4_2_1\Example4_2_1\obj\Debug\Example4_2_1.pdb
?????文件????????180??2009-12-27?23:49??Chapter4\Example4_2_1\Example4_2_1\obj\Debug\Example4_2_1.Properties.Resources.resources
?????文件????????662??2009-12-28?00:14??Chapter4\Example4_2_1\Example4_2_1\obj\Example4_2_1.csproj.FileListAbsolute.txt
?????文件????????479??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1\Program.cs
?????文件???????1318??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1\Properties\AssemblyInfo.cs
?????文件???????2853??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1\Properties\Resources.Designer.cs
?????文件???????5350??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1\Properties\Resources.resx
?????文件???????1097??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1\Properties\Settings.Designer.cs
?????文件????????249??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1\Properties\Settings.settings
?????文件????????925??2009-12-27?23:48??Chapter4\Example4_2_1\Example4_2_1.sln
????..A..H.?????12800??2009-12-28?00:14??Chapter4\Example4_2_1\Example4_2_1.suo
?????文件??????20480??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\bin\Debug\Example4_2_2.exe
?????文件??????28160??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\bin\Debug\Example4_2_2.pdb
?????文件???????5632??2009-12-28?00:18??Chapter4\Example4_2_2\Example4_2_2\bin\Debug\Example4_2_2.vshost.exe
?????文件???????3231??2008-11-04?16:01??Chapter4\Example4_2_2\Example4_2_2\Example4_2_2.csproj
?????文件???????4020??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\Form1.cs
?????文件???????1410??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\Form1.Designer.cs
?????文件???????5814??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\Form1.resx
?????文件????????842??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\obj\Debug\Example4_2_2.csproj.GenerateResource.Cache
?????文件??????20480??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\obj\Debug\Example4_2_2.exe
?????文件????????180??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\obj\Debug\Example4_2_2.Form1.resources
?????文件??????28160??2009-12-28?00:16??Chapter4\Example4_2_2\Example4_2_2\obj\Debug\Example4_2_2.pdb
............此處省略2968個文件信息
- 上一篇:C# 選關版俄羅斯方塊
- 下一篇:C#窗體應用程序標準數獨
評論
共有 條評論