So for school I have this project I'm making. In it I want to create text in my second form by pressing on a button in my first form. Showing the second form by pressing the button works and I also already have some text in the second form. But like I already said, how do I add (or change, either is fine) text from the first form?
Here's my code:
BtnNor.Click += new EventHandler(NorChart); //BtnNor is the name of the button
}
void NorChart(object sender, EventArgs e)
{
SingleChart Form_SC = new SingleChart(); //SingleChart is the name of the second form.
Form_SC.Show();
}
This is for opening the second form. In it I just have some small things to display text which I think isn't important, but if it is please do tell me and I'll post it too