private void Form1_Resize(object sender, EventArgs e)
{ //always 1/4 of the size of the window
textBox1.width = (this.Width / 4);
}
rember to delare it in the desing easy way is juz click the form click the ligint looking box in proerties window and juz click resize at the bottom if u need any more help email me
|