資源簡介
C#畫圖,畫線,畫圓,橡皮擦
C#畫圖,畫線,畫圓,橡皮擦
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
namespace?Ex13_47
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????//標識是否正在繪圖
????????private?bool?isDrawing?=?false;
????????//繪圖時記錄鼠標位置
????????private?Point?MouseStartPoint?MouseOldPoint;
????????//枚舉各種繪圖工具
????????private?enum?DrawModes
????????{
????????????Pen?=?0?Line?Ellipse?Rectangle?Rubber?None
????????};
????????//當前使用工具
????????private?DrawModes?DrawMode?=?DrawModes.None;
????????//進行操作的位圖
????????private?Image?MyImg;
????????//繪制位圖實例對象
????????private?Graphics?graphics;
????????//繪圖使用顏色
??????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????32768??2007-08-21?15:03??Ex13_47\bin\Debug\Ex13_47.exe
?????文件??????26112??2007-08-21?15:03??Ex13_47\bin\Debug\Ex13_47.pdb
?????文件???????5632??2007-08-21?15:03??Ex13_47\bin\Debug\Ex13_47.vshost.exe
?????文件???????3221??2007-08-21?15:03??Ex13_47\Ex13_47.csproj
?????文件???????7581??2007-08-21?15:03??Ex13_47\Form1.cs
?????文件??????10610??2007-08-21?15:03??Ex13_47\Form1.designer.cs
?????文件??????14288??2007-08-21?15:03??Ex13_47\Form1.resx
?????文件????????842??2007-08-21?15:03??Ex13_47\obj\Debug\Ex13_47.csproj.GenerateResource.Cache
?????文件??????32768??2007-08-21?15:03??Ex13_47\obj\Debug\Ex13_47.exe
?????文件???????6402??2007-08-21?15:03??Ex13_47\obj\Debug\Ex13_47.Form1.resources
?????文件??????26112??2007-08-21?15:03??Ex13_47\obj\Debug\Ex13_47.pdb
?????文件????????180??2007-08-21?15:03??Ex13_47\obj\Debug\Ex13_47.Properties.Resources.resources
?????文件????????268??2007-08-21?15:03??Ex13_47\obj\Ex13_47.csproj.FileList.txt
?????文件????????412??2008-09-10?09:43??Ex13_47\obj\Ex13_47.csproj.FileListAbsolute.txt
?????文件????????466??2007-08-21?15:03??Ex13_47\Program.cs
?????文件???????1162??2007-08-21?15:03??Ex13_47\Properties\AssemblyInfo.cs
?????文件???????2868??2007-08-21?15:03??Ex13_47\Properties\Resources.Designer.cs
?????文件???????5612??2007-08-21?15:03??Ex13_47\Properties\Resources.resx
?????文件???????1090??2007-08-21?15:03??Ex13_47\Properties\Settings.Designer.cs
?????文件????????249??2007-08-21?15:03??Ex13_47\Properties\Settings.settings
?????目錄??????????0??2008-04-14?13:08??Ex13_47\obj\Debug\Refactor
?????目錄??????????0??2008-04-14?13:08??Ex13_47\obj\Debug\TempPE
?????目錄??????????0??2008-04-14?13:08??Ex13_47\bin\Debug
?????目錄??????????0??2008-04-14?13:08??Ex13_47\obj\Debug
?????目錄??????????0??2008-04-14?13:08??Ex13_47\bin
?????目錄??????????0??2008-09-10?09:36??Ex13_47\obj
?????目錄??????????0??2008-04-14?13:08??Ex13_47\Properties
?????目錄??????????0??2008-04-14?13:08??Ex13_47
-----------?---------??----------?-----??----
???????????????178643????????????????????28
............此處省略1個文件信息
評論
共有 條評論