【问题标题】:How to translate this code from Windows Form to WPF? [closed]如何将此代码从 Windows 窗体转换为 WPF? [关闭]
【发布时间】:2011-03-22 18:46:17
【问题描述】:

http://www.gutgames.com/post/Adjusting-Brightness-of-an-Image-in-C.aspx

有人可以帮帮我吗?

图形类在 WPF 中不起作用

【问题讨论】:

  • 先试一试,然后在这里发布具体问题。
  • 这甚至与 WinForms 没有任何关系...

标签: c# .net wpf winforms


【解决方案1】:

不需要更改。使用 Image 元素,将代码中的源设置为生成的位图类型。

【讨论】:

  • 图形的东西在 WPF 中不起作用
猜你喜欢
  • 1970-01-01
  • 2012-02-05
  • 1970-01-01
  • 2018-08-22
  • 2013-06-28
  • 2023-03-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多