I tried if and switch statements but these aren't working for me because I need form2 to show up as it has a textbox and two buttons (one of them is info). So now I've decided to do a form for each button but would this application have to hold so much memory that the computer could crash? Am I allowed to do as many forms as I want or is this a silly way of coding the app?
heres the button codes on form 1
private void lr_Click(object sender, EventArgs e)
{
LR thirdForm = new LR();
thirdForm.Show();
}
private void btnCa_Click(object sender, EventArgs e)
{
Form2 secondForm = new Form2();
secondForm.Show();
}
private void mdp_Click(object sender, EventArgs e)
{
MdP forthForm = new MdP();
forthForm.Show();
}
private void leds_Click(object sender, EventArgs e)
{
LEDS fifthForm = new LEDS();
fifthForm.Show();
}
it goes on to thirtysecondForm. I'd really appreciate any help I can get
Thanks
This post has been edited by tlhIn`toq: 01 October 2012 - 12:38 PM
Reason for edit:: [code] your code goes here [/code] tags addes

New Topic/Question
Reply



MultiQuote




|