swap froms
-
hi, i need to swap between forms, im looking at 3 screens on (yes realy screens attached to pc) on each screen there is a different form, but in a menu i can choose diffent forms to look at, only the 3 most always remain the same, so if i swap from form on the first screen it needs to close the form that was there befor and check if its not the form form screen 3, realy a bit fussy.... i found a example but its in vs 2003: http://www.codeproject.com/csharp/applicationcontextdemo.asp[^] and i'm not sure how to implement this in my existing application. any body has tips?? thx
-
hi, i need to swap between forms, im looking at 3 screens on (yes realy screens attached to pc) on each screen there is a different form, but in a menu i can choose diffent forms to look at, only the 3 most always remain the same, so if i swap from form on the first screen it needs to close the form that was there befor and check if its not the form form screen 3, realy a bit fussy.... i found a example but its in vs 2003: http://www.codeproject.com/csharp/applicationcontextdemo.asp[^] and i'm not sure how to implement this in my existing application. any body has tips?? thx
faladrim wrote:
(yes realy screens attached to pc)
I have 5 :-) So you have several different forms in your app and you want to change which one has the focus ? Or you have several different apps running ? If Marc's 2003 code does what you want, it will work in 2005 as well.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
faladrim wrote:
(yes realy screens attached to pc)
I have 5 :-) So you have several different forms in your app and you want to change which one has the focus ? Or you have several different apps running ? If Marc's 2003 code does what you want, it will work in 2005 as well.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
thx, it's more like a perant child thing, i have one app with several forms one is a visualisation of a factory, this is the one that always should stay and in a menu bar you can choose several others like: logs, history, orders, alarms, .... these are changeble on the two other screens i think for this i should work with parent child not? the perant is the form with the menu bar, and all the others are the childern you think this shoud work? ill know it monday :p -->> its weekend :D