示例#1
0
文件: Program.cs 项目: creeperlv/LWMS
 static string ObtainAuth()
 {
     while (true)
     {
         Console.WriteLine("User Name:");
         var UN = Console.ReadLine();
         Console.WriteLine("Password:"******"Username + Password combination no found, please retry.");
     }
 }
示例#2
0
文件: Program.cs 项目: creeperlv/LWMS
 static void Login()
 {
     while (true)
     {
         Console.WriteLine("User Name:");
         var UN = Console.ReadLine();
         Console.WriteLine("Password:"******"Welcome, " + UN);
             return;
         }
         Console.WriteLine("Username + Password combination no found, please retry.");
     }
 }