title: How can I disable F5 (refresh Browser) for Silverlight application without affecting closing?
body: <p>I was reading <a href="https://stackoverflow.com/questions/4673715/silverlight-how-do-i-disable-to-browsers-refresh-button">this</a> post and noticed that when I am closing browser or tab the message is showing as well. I need to disable the Refresh button or give some warning but problem with solution in that post is that it shows message when I close  browser.   </p>
  
  <p>Is there any way to show message only on refresh?   </p>
  
  <p>I know that there are some posts like this on stackoverflow.com, but none of them work for me. So this is not a duplicate question unless there is a working solution.   </p>