I usually write the following to handle a right mouse click.
if (e.Button == MouseButtons.Right) { }
But, I have seen people do it this way. Can somebody tell me why they do it this way? What's the advantage?
if ((e.Button & MouseButtons.Right) == MouseButtons.Right) { }