예제 #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.");
     }
 }