【问题标题】:Windows.Forms and gtk# interoperability?Windows.Forms 和 gtk# 的互操作性?
【发布时间】:2009-05-22 13:17:48
【问题描述】:

我可以将使用 System.Drawing.Bitmap 的代码与使用 GTK# 的程序中的其他代码结合起来吗? 我希望能够显示在 GTK# 窗口/小部件中处理的位图图像。

更一般地说,这两个工具包之间是否有任何互操作性? 例如,是否有任何类(如 Rectangle)可以同时在两者上工作,或者可能是包装类?

【问题讨论】:

    标签: c# winforms interop gtk#


    【解决方案1】:

    System.Drawing 并不是真正特定于 WinForms,至少可以在 Gtk# 中使用 get Graphics instances from Gdk.Drawables

    【讨论】:

      猜你喜欢
      • 2011-10-26
      • 2010-09-06
      • 2014-01-03
      • 2017-08-12
      • 2010-09-21
      • 2020-07-27
      • 2018-10-08
      • 2023-04-04
      • 1970-01-01
      相关资源
      最近更新 更多