public Message(int x, int y, int lenx, int leny, List<string> buffer) { this.x = x; this.y = y; this.lenx = lenx; this.leny = leny; this.buffer = buffer; box = new Box(x, y, lenx, leny); }
public SelectBox(int x, int y, int lenx, string[] lines) { this.x = x; this.y = y; this.lenx = lenx; this.leny = lines.Length*lenliney; this.lines = lines; box = new Box(x, y, lenx, this.leny); }