所以我正在制作一个绘图应用程序,我有一个最后的错误 - intellisense。这是错误:
IntelliSense: no instance of overloaded function "System::Drawing::Graphics::DrawLine" matches the argument list argument types are: (System::Drawing::SolidBrush, System::Drawing::Point, System::Drawing::Point) object type is: System::Drawing::Graphics
这是代码/行:
g->DrawLine(SolidBrush(colorSel), oldPosition, e->Location);