private static bool IsParametrMacros(string pMacros, SortedList<string, string> alstOffset)
{
string astrNameSubReg = pMacros;
int idxRegisters = astrNameSubReg.LastIndexOf('_');
while (idxRegisters > 0)
{
astrNameSubReg = astrNameSubReg.Remove(idxRegisters);
string shotNameReg = astrNameSubReg + "_M";
if (alstOffset.ContainsKey(shotNameReg))
{
return true;
}
idxRegisters = astrNameSubReg.LastIndexOf('_');
}
return false;
}