bi formum var Form1
public: ref Form(...
yani yeni proje yaratılınca oluşan form bunu reference type olarak .net kendi tanımlıyor her neyse
bu formda bi buton var bu butona basınca bi cizgi cizsin istiyorum
Kod:
private: System::Void button7_Click(System::Object^ sender, System::EventArgs^ e)
ama burda şu hataları veriyor
Error 5 error C2352: 'System:

rawing::Graphics:

rawLine' : illegal call of non-static member function c:documents and settingsmustafaelgelerimisual studio 2005projectseuralmeural toy matrixeural toy matrixForm1.h 1306
Error 4 error C2582: 'operator =' function is unavailable in 'System:

rawing::Pen' c:documents and settingsmustafaelgelerimisual studio 2005projectseuralmeural toy matrixeural toy matrixForm1.h 1305
Error 3 error C2750: 'System:

rawing::Pen' : cannot use 'new' on the reference type; use 'gcnew' instead c:documents and settingsmustafaelgelerimisual studio 2005projectseuralmeural toy matrixeural toy matrixForm1.h 1305
Error 2 error C3699: '*' : cannot use this indirection on type 'System:

rawing::Pen' c:documents and settingsmustafaelgelerimisual studio 2005projectseuralmeural toy matrixeural toy matrixForm1.h 1304
sorun nedir anlamadım?
__________________