public void AddGraphics(EasyPhoto.GraphicsType type, string str, Font font, Brush brush, Point p) { CustomClass.Cell newCell = new EasyPhoto.CustomClass.Cell(type, str, font, brush, p); arrayList.Add(newCell); Graphics backg = Graphics.FromImage(backImage); newCell.CellPaint(backg); this.OnPaint(null); //this.Parent.Invalidate(); }
public void AddGraphics(EasyPhoto.GraphicsType type, Image image, Point point, int width, int height) { CustomClass.Cell newCell = new EasyPhoto.CustomClass.Cell(type, image, point, width, height); arrayList.Add(newCell); Graphics backg = Graphics.FromImage(backImage); newCell.CellPaint(backg); this.OnPaint(null); //this.Parent.Invalidate(); }
public void AddGraphics(GraphicsType type, System.Collections.ArrayList arraylist) { CustomClass.Cell newCell = new EasyPhoto.CustomClass.Cell(type, this.baseImage, arraylist); this.arrayList.Add(newCell); Graphics backg = Graphics.FromImage(backImage); newCell.CellPaint(backg); this.OnPaint(null); //this.Parent.Invalidate(); }