Packet packet = e.getPacket();
ScriptControlChangePacket change = (ScriptControlChangePacket)packet;
for (int i = 0; i < change.Data.length; i++)
{
onOnScriptControlChange.raiseEvent(new ScriptControlEventArgs(ScriptControlChange.get(change.Data[i].Controls),
change.Data[i].PassToAgent,
change.Data[i].TakeControls));
}
}
}