Beispiel #1
0
 public static void SetStandardOutputCharacterAttributes(ConsoleCharacterAttributes attributes)
 {
     SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), attributes);
 }
 private static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, ConsoleCharacterAttributes wAttributes);
Beispiel #3
0
 private static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, ConsoleCharacterAttributes wAttributes);
 public static void SetStandardOutputCharacterAttributes(ConsoleCharacterAttributes attributes)
 {
     SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), attributes);
 }