private void button1_Click(object sender, EventArgs e)
{
this.textBox1.AutoSize = true;
this.textBox1.Text = "Hello world!";
this.textBox1.Font = new System.Drawing.Font("Arial", 10, FontStyle.Regular);
this.textBox2.AutoSize = false;
this.textBox2.Text = "Hello world!";
this.textBox2.Font = new System.Drawing.Font("Arial", 10, FontStyle.Regular);
}
ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/
Sukesh.Net, if this helps please login to Mark As Answer. | Alert Moderator