런타임시 Windows Forms 양식의 너비를 변경하고 싶습니다. SuspendLayout 및 resumelayout 메서드도 실행하고 있지만 작동하지 않습니다.런타임시 Windows Forms 양식의 너비를 변경하십시오.
System.Windows.Forms.Control form = this.currentForm;
form.SuspendLayout();
form.Width = form.Width + 100;
form.ResumeLayout();
어떻게 작동합니까?
"하지만 작동하지 않습니다." - 설명 해주십시오. – Blorgbeard
http://msdn.microsoft.com/en-us/library/aa984427(v=vs.71).aspx – prospector
위의 코드를 어떤 문맥에서 사용합니까? 더 보여주세요. 'this'는 무엇이고'this.currentForm'은 무엇입니까? – joe