Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace TimGame.ConsoleWindow
  7. {
  8. public static class ConsoleDebug
  9. {
  10.  
  11.  
  12. public static void Loaded(string Element, string Location)
  13. {
  14.  
  15. Console.ForegroundColor = ConsoleColor.White;
  16.  
  17. Console.BackgroundColor = ConsoleColor.Green;
  18.  
  19. Console.Write("LOADED AND ACTIVATED CLASS:");
  20.  
  21. Console.BackgroundColor = ConsoleColor.Black;
  22.  
  23. Console.Write(" " + Element + " from " + Location);
  24.  
  25. Console.WriteLine();
  26.  
  27. }
  28.  
  29. public static void Highlight(string Text, ConsoleColor Background=ConsoleColor.Red)
  30. {
  31.  
  32. Console.ForegroundColor = ConsoleColor.White;
  33.  
  34. Console.BackgroundColor = Background;
  35.  
  36. Console.WriteLine(Text);
  37.  
  38. Console.BackgroundColor = ConsoleColor.Black;
  39. }
  40.  
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement