Не получается перекрыть метод draw класса Shape в классе MyPoint,листинг классов ниже:
#pragma once
#include "Shape.h"
ref class MyPoint :
public Shape
{
public:
MyPoint(void);
void draw(Graphics^ c,int x,int y,int width,int heigth);
};
using namespace System:

rawing;
using namespace System:

rawing:

rawing2D;
using namespace System::Windows::Forms;
ref class Shape abstract{
protected:
Color linecol;
int linewidth;
DashStyle linest;
Color zalcol;
protected:
void set_line_color(Color col);
void set_line_width(int width);
void set_line_st(int s);
void set_col_zal(Color c);
virtual void draw(Graphics ^c, int x, int y, int width, int heigth);
};
Что сделать надобно?