Skip to main content

Joshua Minnie

Tag: .NET

Sorting in .NET

November 28, 2011May 13, 2014 Josh Minnie Leave a comment

I found some very interesting behavior in the .NET sort method today that I thought I would share in case it catches anyone else off guard. To set up the scenario, I had two objects that had the same value for the property that was being compared. These objects were already in the order I wanted […]

Read More

Find Mouse Position Whenever You Need It

December 15, 2010May 12, 2014 Josh Minnie Leave a comment

When responding to an event from a control, some events provide back the mouse coordinates, but not all of them do. So how do you get the mouse coordinates when your in an event that doesn’t provide them in the event args? Well, the answer is simple: Cursor.Position. Cursor.Position provides a convenient way to get […]

Read More

Archives

  • January 2020
  • June 2014
  • May 2014
  • August 2013
  • January 2013
  • November 2011
  • April 2011
  • March 2011
  • December 2010
  • November 2010
  • April 2010
  • January 2010
  • December 2009
  • May 2009
  • April 2009

Meta

  • Log in
  • @joshminnie
Content copyright © Joshua Minnie. All rights reserved. Theme by Colorlib Powered by WordPress