The pilot had considerable rotary wing but limited fixed wing experience, was undergoing type endorsement training. He was carrying out touch and go landings under instruction on runway 30, with a wind of 300/12 gusting up to 22 knots. After completion of a touch and go, it is probable that the landing gear was raised inadvertently and the aircraft settled back onto the runway. The right and left main landing gear push rods, the landing gear mounting brackets and the landing gear motor mounting brackets were damaged at that time and both propellers touched the runway surface. The instructor took control, the landing gear was selected up, however the gear intransit light remained on. A fly past the tower confirmed that the right landing gear was hanging at about 45 degrees. While performing the emergency lowering procedures, it was noted that the landing gear motor circuit breaker had popped. The mirror showed the nose gear locked down, but a green light could not be obtained. An approach and landing was then made on the grass parallel with runway 30. Both main landing gear collapsed on touch down although the nosegear remained down and locked. The aircraft skidded for about 250 metres and stopped upright.