Пример #1
0
 public void Star()
 {
     Console.WriteLine("Click keybord to show current time, until user key in Esc button");
     while (Console.ReadKey(true).Key != ConsoleKey.Escape)
     {
         callbackObj.Run();
     }
 }
Пример #2
0
 public void Start()
 {
     Console.WriteLine("敲键盘任意键就显示当前的时间,直到按ESC退出....");
     while (Console.ReadKey(true).Key != ConsoleKey.Escape)
     {
         Back.Run(true);
     }
 }
Пример #3
0
 public void Star()
 {
     Console.WriteLine(@"敲键盘任意键就显示当前的时间,直到按ESC退出....");
     while (Console.ReadKey(true).Key != ConsoleKey.Escape)
     {
         CallBackObj.Run();
     }
 }