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