Beispiel #1
0
 /// <summary>
 /// 생성자로써 생성되면 클래스에서 사용되는 객체들을 생성 및 초기화해준다.
 /// </summary>
 /// <param name="list">회원 정보 리스트</param>
 public MemberManagement()
 {
     logDAO    = new LogDAO();
     memberDAO = new MemberDAO();
     printAboutControlMembers = new PrintAboutControlMembers();
     exceptionHandler         = new ExceptionHandler();
     dBExceptionHandler       = new DBExceptionHandler();
 }
 /// <summary>
 /// 기본 생성자로써 각각의 객체들의 생성해주고 초기화해준다.
 /// 초기화 후에 회원가입을 진행한다.
 /// </summary>
 /// <param name="list">회원의 정보를 매개변수로 받는다.</param>
 public AddNewMember()
 {
     printAboutControlMembers = new PrintAboutControlMembers();
     exceptionHandler         = new ExceptionHandler();
     dBExceptionHandler       = new DBExceptionHandler();
     memberDAO = new MemberDAO();
     logDAO    = new LogDAO();
 }
 /// <summary>
 /// 생성자로써 사용되는 객체를 생성, 초기화한다.
 /// </summary>
 /// <param name="list">책 정보 리스트</param>
 public LibraryManagement()
 {
     dBExceptionHandler = new DBExceptionHandler();
     exceptionHandler   = new ExceptionHandler();
     printAboutBooks    = new PrintAboutBooks();
     bookDAO            = new BookDAO();
     bookList           = new List <Book>();
     logDAO             = new LogDAO();
 }
 public FunctionInUserMode()
 {
     logDAO             = new LogDAO();
     bookDAO            = new BookDAO();
     bookList           = new List <Book>();
     rentalList         = new List <RentalData>();
     rentalDataDAO      = new RentalDataDAO();
     printAboutBooks    = new PrintAboutBooks();
     exceptionHandler   = new ExceptionHandler();
     dBExceptionHandler = new DBExceptionHandler();
     now = DateTime.Now;
 }
 public ExceptionHandler()
 {
     dBExceptionHandler = new DBExceptionHandler();
     result             = false;
 }