绘图应用 - 智能感知错误

时间:2016-04-14 20:24:56

标签: graphics c++-cli intellisense

所以我正在制作一个绘图应用程序,我有一个最后的错误 - 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);

0 个答案:

没有答案