Mouse left button up event and openfiledialog

Posted by phm on Stack Overflow See other posts from Stack Overflow or by phm
Published on 2010-06-09T10:38:36Z Indexed on 2010/06/09 10:42 UTC
Read the original article Hit count: 269

Filed under:
|
|
|

I have few images in a grid, then when i click a button, a "open file dialog" comes up.(of course, over the images)

Microsoft.Win32.OpenFileDialog dlgOpenFiles = new Microsoft.Win32.OpenFileDialog(); dlgOpenFile.DoModal();

The images have a LeftButtonUp event attached. The problem is that if i select a file by double clicking it, the open file dialog closes(which is good), but besides that, the image behind the clicked file is receiving a LeftButtonUp message which is not good at all.

I am using wpf/c#/vs2010

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf