开发者

C# Code to display row and column number on status bar of notepad

开发者 https://www.devze.com 2023-03-23 23:42 出处:网络
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 (assumin

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

0

精彩评论

暂无评论...
验证码 换一张
取 消