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