Luckyfox777
7th June 2009, 04:51 PM
Hi there, need some help coding an app, it's similar to somekind of "who wants to be a millionaire?"
The base is that there is a question and 4 variants each page(window), answering one question leads you to the next one, the problem is that i don't know how to connect the windows.
i have kind of
Q1.cs
Q2.cs
....
Q10.cs
------
form1.cs - which is the main window
the code is
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("Right! go to the next", "Information");
?????????????? // for example Q3 is next which is in other window with other image and style, and which is already created as Q3.cs in same project
}
i don't know what to put inside to call for example next question(window) same with menu items like About and Settings...
Please help. maybe somekind of link with tutorials.
msdn i know, didn't found this moment there.
Thanks.
The base is that there is a question and 4 variants each page(window), answering one question leads you to the next one, the problem is that i don't know how to connect the windows.
i have kind of
Q1.cs
Q2.cs
....
Q10.cs
------
form1.cs - which is the main window
the code is
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("Right! go to the next", "Information");
?????????????? // for example Q3 is next which is in other window with other image and style, and which is already created as Q3.cs in same project
}
i don't know what to put inside to call for example next question(window) same with menu items like About and Settings...
Please help. maybe somekind of link with tutorials.
msdn i know, didn't found this moment there.
Thanks.