public void AssignKeyOnReassignDialog(KeyPros pressedKey, KeyPros assignWhichKeyGrid, bool blScanCodeInput = false, bool blAssignKey = true, bool blVerifyKeyWork = true)
 {
     CommonAssignKeyAndVerify(pressedKey.UiaName, assignWhichKeyGrid.UiaName,
                              (reassignDialog) =>
     {
         if (blScanCodeInput)
         {
             UtilKeys.PressByScanCode(pressedKey.ScanCode);
         }
         else
         {
             TestIt.USBController.SendToPort(pressedKey.Port);
         }
     }, blAssignKey, blVerifyKeyWork);
 }