Proper Form Application Design
        Posted  
        
            by Soo
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Soo
        
        
        
        Published on 2010-05-27T13:10:10Z
        Indexed on 
            2010/05/27
            13:11 UTC
        
        
        Read the original article
        Hit count: 159
        
I'm creating a WinForm application in C# and one of its functions is displaying text in text boxes. I'm coding the logic for querying a database in a separate class and am unable to access the text box element in the class I'm creating (I'm getting a "name" does not exist in the current context error). Do I put all of my form logic into my Form1.cs file?
© Stack Overflow or respective owner