예제 #1
0
 public User(User u)
 {
     _UserName = u.UserName;
     _Name     = u.Name;
     Password  = u.Password;
     _Menus    = u.UserMenu;
 }
예제 #2
0
 // Constructors
 public User(string name, string userName, string password)
 {
     _UserName = userName;
     _Password = Utility.HashPassword(password);
     _Name     = name;
     _Menus    = new BasicMenu();
 }