public void SetWindowSize(short x, short y) { COORD c = new COORD(); c.X = x; c.Y = y; this.consoleProperties.dwWindowSize = c; }
public void SetScreenBufferSize(short x, short y) { COORD c = new COORD(); c.X = x; c.Y = y; this.consoleProperties.dwScreenBufferSize = c; }