private void btnResetPWD_Click(object sender, RoutedEventArgs e) { SysUserBO user = (SysUserBO)myRadDataForm.CurrentItem; var result = user.ResetPassword(); MessageBox.Show(result.Message); }