How to move a Winform dialog
        Posted  
        
            by John
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by John
        
        
        
        Published on 2010-03-20T16:21:15Z
        Indexed on 
            2010/03/20
            16:21 UTC
        
        
        Read the original article
        Hit count: 337
        
My main form launches another as a modal dialog, using .ShowDialog. I want to position this based on the mouse-position, but my attempts to call SetDesktopLocation are having no effect. Is this the right method?
Thanks
© Stack Overflow or respective owner