コード例 #1
0
 /// <summary>
 /// 주민번호를 입력받는 부분
 /// </summary>
 public void PrintResidentNum()
 {
     Console.Clear();
     printAboutControlMembers.AddMemberTitle();
     printAboutControlMembers.PrintResidentNum((int)LibraryConstants.Mode.Add);
     secureResidentNum = printAboutControlMembers.GetConsoleSecureResidentNumber();
     residentNum       = new NetworkCredential("", secureResidentNum).Password;
     if (residentNum.Equals("0"))
     {
         return;
     }
     if (residentNum.Equals("1"))
     {
         PrintName();
     }
     if (!exceptionHandler.CheckResidentNum(residentNum))
     {
         PrintResidentNum();
     }
     if (!dBExceptionHandler.CheckResidentNumber(residentNum))
     {
         PrintResidentNum();
     }
 }