Hey, I'm just wondering how I can make it so that upon clicking a button it opens my
"Form2.h" and sets the value of "atomname" to "Hydrogen" I know there must be a way, but I have no idea. I know I could create 1 form for every one, but that would be about 170 forms, which would... suck.

Here's my code for a button click, help on how to make it do what I asked would be great =D

private: System::Void hydrogen_Click(System::Object^ sender, System::EventArgs^ e) {
Form2^ newform2 = gcnew Form2;