Why isnt it working? What is wrong?Code:namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } int h; private void Form1_Load(object sender, EventArgs e) { this.Height = 100; h = this.Height; } private void button1_Click(object sender, EventArgs e) { while (h >= 800) { this.Height = h; h++; } } } }
maybe "this" is related to button1.
I want that the height of the form changes from 100 to 800 smoothly, during 1 second or so.
heeelp... thanx..
*****Ooops! I posted in the wrong category. admin, please move this thread to the right section. sorry...




Reply With Quote