protected override void OnPaint(ConsoleBitmap context) { #if PROFILING using (new TimeProfiler("Grid.OnPaint")) { #endif PaintInternal(context); #if PROFILING } #endif }