I want to change width of a Windows Forms form at runtime. I am also executing SuspendLayout and resumelayout method, but it doesn't work.
System.Windows.Forms.Control form = this.currentForm;
form.SuspendLayout();
form.Width = form.Width + 100;
form.ResumeLayout();
How can I make it work?