Example #1
0
            public WriteAtDisposable(WritePoint writePoint)
            {
                mWritePoint = writePoint;
                //Keep current cursor position to restore
                mOriginX = Console.CursorLeft;
                mOriginY = Console.CursorTop;

                Console.SetCursorPosition(writePoint.X, writePoint.Y);
            }
Example #2
0
 public ProgressBar(WritePoint position, int width)
 {
     mPosition = position;
     mWidth    = width;
     Redraw();
 }