如何从Delphi Win32代码到Delphi Prism代码替换TRect和TPoint ?
您有两个选择,这取决于您的需要
使用矩形和点从系统。绘图命名空间自。Net 1.0
TRect -> System.Drawing.Rectangle
TPoint -> System.Drawing.Point
使用矩形和点从系统。Windows命名空间自。Net 3.0
TRect -> System.Windows.Rect
TPoint -> System.Windows.Point