플로우 레이아웃 컨트롤 내부에 있는 컨트롤의 순서를 변경 하고 싶다.
예를들어 2번째에 있는 컨트롤을 1번째로 변경하고 싶은것이다.
Control c = pnlBarContainer.Controls[2];
pnlBarContainer.Controls.SetChildIndex(c, 1);
pnlBarContainer.Invalidate();
간단하다~
'프로그램 경험 > .Net' 카테고리의 다른 글
[C#] 간단 파일 생성 및 읽기 (0) | 2013.01.30 |
---|---|
[C#] 디버그 출력 (0) | 2013.01.24 |
[C#] MIDI 제어 하기 (0) | 2013.01.23 |
[ASP.NET] 크리스탈 리포트 오류.. The page size was not large enough to format the contents of an object in the report.Failed to export the report. (0) | 2013.01.18 |
[ASP.NET] The types of the parameter field and parameter field current values are not compatible. (0) | 2013.01.17 |