VBA to C# - Porting Userforms to Winforms?
        Posted  
        
            by John M
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by John M
        
        
        
        Published on 2010-04-21T16:30:26Z
        Indexed on 
            2010/04/21
            16:33 UTC
        
        
        Read the original article
        Hit count: 935
        
I am porting a Excel-VBA based app which uses Userforms over to a C# Winforms application.
How do I convert the Height and Width of the VBA-Userform to the same screen dimensions in the C#-Winforms application? Is there a ratio that can use be used?
Currently the VBA-Userform has a dimension of 179.25 W x 245.25 H which is optimized for use on a quarter-VGA device.
© Stack Overflow or respective owner