Paint.NET Source Code Readme
Prerequisites
-------------
1. Windows XP, Server 2003, or Vista.
2. Visual Studio .NET 2005 with Service Pack 1
You should install the C++ x64 compiler as well, which may not come installed
by default.
Not tested with any Express editions of Visual Studio, or with Visual Studio
2008. You're completely on your own in those cases.
3. .NET Framework 2.0
4. Tablet PC SDK v1.7
Download and install this from Microsoft:
http://www.microsoft.com/downloads/details.aspx?FamilyID=b46d4b83-a821-40bc-aa85-c9ee3d6e9699&DisplayLang=en
Instructions
------------
1. Open src/paintdotnet.sln with Microsoft Visual Studio .NET 2005.
2. Set the project configuration to Release or Debug
3. Go to the "Build" menu and click "Rebuild Solution."
4. You will get a number of compiler errors for src/Resources/InvariantStrings.cs.
Go to that file and inspect its contents, and follow the instructions in
order to make the file compilable.
5. Once that's done, go back to the Build menu and click Rebuild Solution again.
6. Assuming all went well, the program files are now in src/bin/[Debug|Release].
You should make sure that the /skipRepairAttempt command line parameter is
present in the Debug tab of the 'paintdotnet' project's properties. Otherwise,
Paint.NET will see that some files are missing and attempt to repair itself.
Not all of these files are necessary when doing development or debugging.
Also, you will need to make sure that mt.exe and signtool.exe are in a
directory that is in your PATH. These are available as part of the Windows SDK
which can be found at Microsoft's website. Usually it's sufficient to copy
these to %SYSTEMROOT%, which is usually C:\Windows.
Directory Layout
----------------
src/
The main folder containing all the Paint.NET source code.
src/Base
This assembly houses base framework-style code. This assembly was introduced
because there was code in Core that SystemLayer could not access and thus
had to duplicate.
src/bin
This is where the main Paint.NET executable and DLLs will be placed.
When you build PDN, you should be able to run PaintDotNet.exe from this
directory.
src/BuildTools
Some exe's that are used by the build process.
src/Core
src/Data
Contains all data-related code, including loading and saving of images.
src/Effects
Contains the code that is built for the PaintDotNet.Effects.dll. This is
the Effects subsystem of Paint.NET that plugins will have to reference.
src/GeneratedCode
Contains a project with build events that generate code for other projects
in the paintdotnet solution. Currently it only generates the user blend
ops in the Data project.
src/Interop.WIA
Contains the .NET interop DLL for the Windows Image Acquisition (WIA)
Automation Layer.
src/Manifests
Contains XML manifests that are embedded in some of the EXE's that are
built. These are used in Windows Vista to mark the executable as either
requiring administrator privilege, or to run with the privilege that
the calling process has. The latter is important for the installer so
that the executable is not deemed 'legacy', and thus certain
compatibility modes are bypassed.
src/obj
Intermediate files used during compilation go here.
src/Resources
Contains all the resources for Paint.NET, and some code for managing them.
src/SharpZipLib
Contains the DLL for #ziplib, by Mike Krueger.
src/ShellExtension
Contains the code for a Windows Explorer shell extension that displays
thumbnails. This is a COM object written in C++.
src/Strings
Contains the strings.resx for English/neutral locales.
src/StylusReader
Contains the code for interfacing with the Tablet PC SDK.
src/SystemLayer
All P/Invoke and "system dependent" code, as well as hacks or workarounds,
go in to the SystemLayer assembly.
src/WIAAutSDK
Contains the WIA 2.0 Automation library.
src/WIAProxy32
Contains the code for the WIA proxy executable.
没有合适的资源?快使用搜索试试~ 我知道了~
著名paint.net的c#源代码
共1106个文件
cs:665个
png:203个
resx:67个
4星 · 超过85%的资源 需积分: 10 68 下载量 161 浏览量
2008-12-16
17:36:54
上传
评论 3
收藏 2.91MB RAR 举报
温馨提示
难得的C#图形图像处理开源项目Paint.NET Paint.NET是一个图像和照片处理软件,它由华盛顿州立大学的学生开发和维护并由微软公司提供项目指导,早期定位于MS Paint的免费替代软件,现在逐渐发展为一个功能强大且易用的的图像和照片处理软件,支持图层,无限制的历史记录,特效,和许多实用工具,并且开放源代码和完全免费,界面看起来有点像Photoshop.该软件的开发语言是C#.
资源推荐
资源详情
资源评论
收起资源包目录
著名paint.net的c#源代码 (1106个子文件)
ShellExtension.aps 33KB
Squish.aps 33KB
count.bat 297B
prejit.bat 292B
zeroresx.bat 178B
signfile.bat 177B
installGAC.bat 158B
build.bat 67B
embedManifest.bat 54B
update.bat 50B
uninstallGAC.bat 36B
register.bat 21B
SharpZlib.build 918B
bzip2 34KB
bzip2_solid 34KB
ChangeLog 2KB
wiaaut.chi 24KB
config 428B
PdnShellExtension.cpp 21KB
clusterfit.cpp 12KB
MemoryStream.cpp 9KB
alpha.cpp 8KB
squish.cpp 8KB
maths.cpp 6KB
colourblock.cpp 5KB
rangefit.cpp 5KB
singlecolourfit.cpp 4KB
colourset.cpp 4KB
PdnShell.cpp 3KB
ClassFactory.cpp 3KB
squishinterface.cpp 2KB
colourfit.cpp 2KB
UserBlendOps.Generated.cs 162KB
ToolConfigStrip.cs 123KB
Utility.cs 105KB
DocumentWorkspace.cs 102KB
AppWorkspace.cs 91KB
ColorsForm.cs 83KB
Surface.cs 80KB
ResizeDialog.cs 70KB
NativeErrors.cs 67KB
Document.cs 63KB
DocumentView.cs 61KB
TextTool.cs 54KB
NativeConstants.cs 53KB
Tool.cs 50KB
NativeInterfaces.cs 49KB
LevelsEffectConfigDialog.cs 48KB
ColorBgra.cs 47KB
ImageStrip.cs 46KB
MainForm.cs 45KB
EffectMenuBase.cs 43KB
MoveToolBase.cs 39KB
RotateZoomEffectConfigDialog.cs 38KB
MemoryBlock.cs 36KB
PdnBaseForm.cs 35KB
DdsFile.cs 35KB
PdnGraphicsPath.cs 34KB
SaveConfigDialog.cs 33KB
RecoloringTool.cs 32KB
Shell.cs 30KB
HistoryControl.cs 28KB
UnaryPixelOps.cs 28KB
TgaFileType.cs 27KB
GradientTool.cs 27KB
AppEnvironment.cs 27KB
Startup.cs 26KB
UI.cs 25KB
PdnToolBar.cs 25KB
SnapManager.cs 25KB
FileSystem.cs 24KB
Startup.cs 24KB
MoveTool.cs 23KB
MaskedSurface.cs 23KB
ShapeTool.cs 23KB
CodeLabConfigDialog.cs 23KB
CheckingState.cs 22KB
Layer.cs 22KB
CloneStampTool.cs 22KB
UserBlendOps.Generated.H.cs 22KB
ColorGradientControl.cs 22KB
LayerForm.cs 22KB
DdsSaveConfigWidget.cs 22KB
LineTool.cs 21KB
SelectionRenderer.cs 21KB
OctreeQuantizer.cs 21KB
FileMenu.cs 20KB
LayerControl.cs 20KB
PaletteCollection.cs 20KB
SurfaceBox.cs 20KB
CurveControl.cs 20KB
PdnRegion.cs 20KB
Selection.cs 19KB
UpdatesDialog.cs 19KB
DocumentStrip.cs 19KB
TwoAmountsConfigDialog.cs 19KB
VistaFileOpenDialog.cs 19KB
ChooseToolDefaultsDialog.cs 19KB
Ruler.cs 19KB
CurvesEffectConfigDialog.cs 18KB
共 1106 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
- shaoyaoren02014-01-18有些程序方面的错误,不过还可以,针对初学者不错
- fervent2011-11-14Paint.net刚开始是开源的,随着功能越来越丰富,在官方网站上找不到源代码了,很幸运在这里还能找到一份,虽然版本有点老,呵呵。
- cs_danping2016-04-07具有一定的参考意义,不能直接用于生产环境
- coollzt2013-04-06错误 380 命令“@rem Embed manifest call "xx\src\Manifests\embedManifest.bat" "xx\src\SetupNgen\bin\Debug\SetupNgen.exe" "xx\src\Manifests\requireAdministrator.xml" call "xx\src\Manifests\embedManifest.bat" "C:\Documents and Settings\cooltan\桌面\paint.net-3.36\s
hp老高
- 粉丝: 7
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功