[WinForm] 맨마지막 라인으로 이동하기
2011. 10. 21. 20:27ㆍC#/WinForm
반응형
맨 마지막 라인으로 이동하기
ListBox
listBox1.SelectedIndex=listBox1.Items.Count-1; |
ListView
listView1.Items[listview1.Items.Count-1].EnsureVisible(); |
TextBox
textbox1.SelectionStart=textbox1.Text.Length; textBox.ScrollToCreate(); |
반응형
'C# > WinForm' 카테고리의 다른 글
[WinForm] 크로스 쓰레딩을 예방 (0) | 2011.11.11 |
---|---|
[Winform]프레임 없이 이동 (0) | 2011.11.09 |
[WinForm] 엑셀 지우기 현재 창만 (0) | 2011.10.13 |
[WinForm] 엑셀관련 (0) | 2011.09.30 |
[Winform] C# excel 연동 예제 (0) | 2011.09.29 |