C# Code to display row and column number on status bar of notepad
I'm 开发者_运维技巧writing a notepad program in C# winforms and just want to know about how can row number and column number be displayed on status bar.
Here's an extended version of TextBox
(assuming you are using that control) that lets you get/set the caret position:
http://weblogs.sqlteam.com/mladenp/archive/2007/10/19/C--Get-current-Caret-Line-and-Column-in-a.aspx
精彩评论