how can i write an event for segment controller?
<p>i want to write an event for the segment controller.By clicking First Tab i want to perform some calculation and by clicking Second Tab i want to perform some different operation.please help me.</p>
