Ejemplo n.º 1
0
 public FrmDangNhap()
 {
     InitializeComponent();
     BringToFront();
     _danhSachUser = new DanhSachUserImpl();
     failLoginTime = 0;
 }
Ejemplo n.º 2
0
 public FrmThemNsd(long userID)
 {
     InitializeComponent();
     _danhSachUser = new DanhSachUserImpl();
     _userID       = userID;
     if (!IsNewUser())
     {
         Text = "Sửa thông tin người sử dụng";
         var userDto = _danhSachUser.GetUser(userID);
         txtUsername.Text = userDto.UserName;
         txtFullName.Text = userDto.FullName;
         DisableItemsU();
         LoadUserRoles(userDto);
     }
     chkQtht_CheckedChanged(null, null);
 }
Ejemplo n.º 3
0
 public FrmDoiMatKhau()
 {
     InitializeComponent();
     _userId       = ThamSo.UserId;
     _danhSachUser = new DanhSachUserImpl();
 }