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