VB.Net Tutorial/Development/Console — различия между версиями

Материал из VB Эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 19:40, 26 мая 2010

Change some characteristics of the command window

<source lang="vbnet">Module Module1

   Sub Main()
       
       Console.Title = "Custom Command Window"
       Console.BackgroundColor = ConsoleColor.White
       Console.ForegroundColor = ConsoleColor.DarkBlue
       Console.WindowHeight = Console.LargestWindowHeight - 15
       Console.WindowWidth = Console.LargestWindowWidth - 15
       "Call a few methods to clear and pause the window.
       Console.Clear()
   End Sub

End Module</source>