private void loadDataRow()
 {
     textEditHo.Text         = dataRow["HO"]?.ToString();
     textEditTenDem.Text     = dataRow["TENDEM"].ToString();
     textEditTen.Text        = dataRow["TEN"]?.ToString();
     textEditTaiKhoan.Text   = dataRow["MANV"]?.ToString();
     textEditMatKhau.Text    = dataRow["MATKHAU"]?.ToString();
     textEditSDT.Text        = dataRow["SDT"]?.ToString();
     textEditEmail.Text      = dataRow["EMAIL"]?.ToString();
     spinEditTienLuong.Text  = dataRow["LUONG"]?.ToString();
     comboBoxEditChucVu.Text = dataRow["CHUCVU"]?.ToString();
     pictureEditAnh.Image    = (!Convert.IsDBNull(dataRow["ANH"]) ? ProcessImage.byteArrayToImage((byte[])dataRow["ANH"]) : null);
     textEditDiaChi.Text     = dataRow["DIACHI"]?.ToString();
 }
 private void setPictureEditAvatarNhanVien(byte[] byteImage)
 {
     pictureEditAvatar.Image = (byteImage != null ? ProcessImage.byteArrayToImage(byteImage) : null);
 }