Multiple Forms
-
In my current project i have two forms say FormA and FormB in which each form performs some specific task, how can i shift between the forms at a time. As I said that I want to shift between the forms. It means that I have a function with two parameters if first parameter is null and second parameter is having some value it should call FormB. And Vice versa i.e. abc( Null, 10) here the first parameter is null and the second is value 10. Then it should call FormB similarly abc (10, Null) here the first parameter value is 10 and the second is Null. Then it should call FormA. How can i do it.
-
In my current project i have two forms say FormA and FormB in which each form performs some specific task, how can i shift between the forms at a time. As I said that I want to shift between the forms. It means that I have a function with two parameters if first parameter is null and second parameter is having some value it should call FormB. And Vice versa i.e. abc( Null, 10) here the first parameter is null and the second is value 10. Then it should call FormB similarly abc (10, Null) here the first parameter value is 10 and the second is Null. Then it should call FormA. How can i do it.
What do you mean - show one at a time ? You can have a main window that spawns form1, and when form1 closes, spawns form2. Or you can have Form1 the main window, and a next button that hides form1 and shows form2. It's hard to say, without knowing more specifics. Christian Graus - Microsoft MVP - C++