예제 #1
0
파일: Client.cs 프로젝트: barros-jf/ESN
 public override bool login()
 {
     if (ClientDAO.currentInstance.checkUserPassword(Username, Password))
     {
         currentInstance = ClientDAO.currentInstance.getClient(Username);
         currentInstance.photobook = new Photobook(Username);
         currentInstance.tradebook = new Tradebook(Username);
         return true;
     }
     return false;
 }
예제 #2
0
파일: Client.cs 프로젝트: barros-jf/ESN
 public override void logout()
 {
     currentInstance = null;
 }