Reputation: 1105
I am using the following code to resize the form from right to left
while (this.Width >= 15)
{
this.Width--;
Application.DoEvents();
}
How would I get the same functionality when shrinking the form from left to right?
Upvotes: 2
Views: 936
Reputation: 8551
while (this.Width >= 15)
{
this.Width--;
this.Left++;
Application.DoEvents();
}
Upvotes: 4