Control[] controls = new Control[numberOfControls];
for (int index = 0; index < numberOfControls; index++)
{
current.begin();
transactionNames[index] = current.get_transaction_name();
controls[index] = current.suspend();
}
for (int index = 0; index < numberOfControls; index++)
{
current.resume(controls[index]);