Web and Software Development

Google
 

Thursday, November 1, 2007

C# Codes

1. How to Activate a New Form in C# Windows Application on Clikc of Button


private void button1_Click(object sender, EventArgs e)
{
Form f1 = new Form2(); //Declaring New for f1 and assigning Form2 to it
f1.Show(); //Activating f1 on click of button
}

0 comments:

Post a Comment

Boomark My Blog @