C#中向picturebox上drawstring

时间:2011-06-05 12:27:49
【文件属性】:
文件名称:C#中向picturebox上drawstring
文件大小:41KB
文件格式:7Z
更新时间:2011-06-05 12:27:49
最近的一个项目要在一张图上显示一个句子,先用了个PictureBox,然后往上面拽了个textbox,没想到,将textbox的backcolor设置为transparent,根本没有任何效果,图上文字底色还是白的。网上有说还要再把textbox的parent属性设为picturebox,但我的项目是PDA上的,用compack framefork,不支持这个操作,会发生运行错。

【文件预览】:
DrawTextOnPicture
----bin()
--------Debug()
----DrawTextOnPicture.cs(1KB)
----obj()
--------DrawTextOnPicture.csproj.FileList.txt(370B)
--------Debug()
----DrawTextOnPicture.csproj.user(198B)
----Properties()
--------Resources.Designer.cs(2KB)
--------Resources.resx(5KB)
--------AssemblyInfo.cs(1KB)
----Program.cs(374B)
----DrawTextOnPicture.resx(6KB)
----File.ico(107KB)
----DrawTextOnPicture.Designer.cs(3KB)
----DrawTextOnPicture.csproj(4KB)
----File.jpg(4KB)
DrawTextOnPicture.sln

网友评论

  • 有一些參考價值,還是不錯的
  • 一般般,没多大用处
  • 修改下 差不多用上了 谢谢分享
  • 没一点用处,没有价值。
  • 正好合适本人开发的项目。