Example #1
0
 private static void Regions_RemoveEvent(RegionDictionary <string, ConsoleRegion> .RemoveEventArgs pRemoveEventArgs)
 {
     CanDraw      = false;
     _consoleSize = null;
     CanDraw      = true;
     Draw();
 }
Example #2
0
 private static void Regions_AddEvent(RegionDictionary <string, ConsoleRegion> .AddEventArgs pAddEventArgs)
 {
     CanDraw = false;
     pAddEventArgs.Value.OnContentUpdated += Value_OnContentUpdated;
     _consoleSize = null;
     CanDraw      = true;
     Draw();
 }
Example #3
0
 public static void Reset()
 {
     _regions         = null;
     _backgroundColor = ConsoleColor.Black;
     Draw();
 }