GIDForums  

Go Back   GIDForums > Computer Programming Forums > .NET Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 31-May-2005, 03:33
richiemac richiemac is offline
New Member
 
Join Date: May 2005
Posts: 16
richiemac is on a distinguished road

Two forms


Hi,

I've got two forms that need to communicate with each other. The second form (Form2) is created when a button is pressed on the first form (Form1). What I then need to do - and what is causing problems - is when Form2 closes the data it is displaying needs to be sent to Form1.

I've tried declaring an object of Form2 in form one and then call functions to do the processing. I think this works ok but I'm not sure.

Initially I tried creating a class that sat in between the two forms and passed everything through that. This caused a lot of errors and I don't really understand why. A lot of my form components went missing and I got one hell of a lot of compile errors telling me components didn't belong to forms or they weren't there at all.

Why did this occur just by declaring a intermediate class that pointed to two forms??????????
 
 

Recent GIDBlogDeveloping GUIs with wxPython (Part 3) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you help me about using forms in php??? oozsakarya MySQL / PHP Forum 2 10-May-2005 04:15
Why my Visual Studio.Net doesn't have Windows Forms Application(.Net) template? Where george MS Visual C++ / MFC Forum 9 18-Feb-2005 05:42
Windows Forms App in VC++ .NET hellhammer MS Visual C++ / MFC Forum 0 20-Oct-2004 12:44
forms and more forms pezboy Web Design Forum 0 04-Jun-2004 11:12
[class] Generate Forms Without Using HTML! Elmseeker PHP Code Library 6 11-Mar-2003 12:05

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 12:34.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.