namespace SHARP_CLAS_UI { public class User_Info { #region Property public string Name { get; set; } public string ID { get; set; } public string Password { get; set; } public En_User_Level Level { get; set; } #endregion #region Construct public User_Info() { Name = string.Empty; ID = string.Empty; Password = string.Empty; Level = En_User_Level.Operator; } #endregion #region Function public User_Info Clone() { User_Info info = new User_Info(); info.Name = this.Name; info.ID = this.ID; info.Password = this.Password; info.Level = this.Level; return info; } public void Reset() { Name = string.Empty; ID = string.Empty; Password = string.Empty; Level = En_User_Level.Operator; } #endregion } }