C# help
Posted: Wed Apr 23, 2008 3:39 pm
Where can I find info on learning C#? Microsoft's site has tons of VB things but I can't find much for C# there.
Visit remnantmods.com for more information
http://www.halomods.info/
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Form objform = new Form();
objform.Show();
}
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Form2 objform2 = new Form2();
objform2.Show();
}
The file name doesn't matter. The class name is what you are looking for.Aumaan Anubis wrote:But if you want a specific form to load, you can create that form with its specific attributes, and assuming that it is called form2.cs, you can use...