יצירת אובייקט Graphics
ב VC++.NET: עשיתי
ב VC++.NET: עשיתי
void Draw(IntPtr WinHandle) { Rectangle rectSquare; GraphicsPath *grPath; PathGradientBrush *ptGradBrush; Color *crColors; Graphics *graphics = Graphics.FromHwnd(WinHandle); }
אני מקבל שגיאה מהשורה האחרונה ולא הצלחתי למצוא דוגמא ב MSDN יש רק ל VB ו #C.