private void Form1_Load(object sender, EventArgs e) { draw = new CadDraw(pictureBox1); draw.CreateSomeObjects(12); draw.Popupmenu = contextMenuStrip1; draw.PopupOpening(); }
public CadRectangle(CadDraw draw) { Draw = draw; }
public CadEllipse(CadDraw draw) { Draw = draw; }