Possible Duplicate:
Setting the start position for OpenFileDialog/SaveFileDialog
I’ve to show a ColorDialog, just above the button where the user clicked.
Currently I can’t find how to specify this location:
- There is no
StartPosition/Locationproperties ( How can I control the location of a dialog when using ShowDialog to display it? ) - The constructor only take a windows a parameter and put this in the middle
I need to place it directly above my cursor, specifying a X;Y.
Any idea about how to achieve this?
Thank you!
I finally found a way, not the prettiest thing, but it works: