2012-06-14 96 views
2

我想在MonoDevelop中使用System.Windows中的Rect結構,但是當我嘗試添加對它的引用時,無法在軟件包列表中找到System.Windows。有很多東西像System.Windows.Controls ....和System.Windows.Forms ...但它本身不是System.Windows。如何在MonoDevelop中訪問Rect?如何在Mono/MonoDevelop中使用System.Windows?

回答

2

Rect結構在WindowsBase.dll中定義(如果面向.NET 4)。您需要添加對該程序集的引用才能訪問它。

0

嘗試
Android.Graphics.Rect

其Mono.Android.dll定義,有下單

到Windows.Forms.Rect沒有實現
相關問題