Windows Forms Problems in Visual Studio 2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NetDolphin

    #1

    Windows Forms Problems in Visual Studio 2003

    Hi to everybody, I'm new here, but i've already some problems
    with Visual Studio 2003 !! I don't speak english very well....I'm
    sorry ! :oops:

    So, I created two forms with Visual Studio, in two files: Form1.h and
    Form2.h.
    I've added a button to Form1 that create an istance of Form2 and show
    it.
    Now, I want to change Form1 properties from Form2, but this doesn't
    work !!!
    Infact in Form1.h I've included this line:

    #include "Form2.h"

    and if Form2.h this one:

    #include "Form1.h"

    but, the Compiler said that in Form1.h the symbol Form2 is not A class
    ?! :shock:

    This is not a circualar including, because in Form1.h and in Form2.h
    there is the "#pragma once" directive !
    :roll:

    Please Help Me ! :idea:

    Thanks in advance!



    ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Working...