Use a boolean field to track whether your initialization code has alreay been invoked:
http://www.hardcodet.net/2008/01/wpf-loaded-event-fired-repeatedly
Use a boolean field to track whether your initialization code has alreay been invoked:
http://www.hardcodet.net/2008/01/wpf-loaded-event-fired-repeatedly