记事本里Ln138,Col5o2o是什么意思思?

用C#写记事本(怎么写下面记事本下面的坐标Ln和Col)_百度知道
用C#写记事本(怎么写下面记事本下面的坐标Ln和Col)
Col行,请问怎么才能做到像微软的记事本下面的Ln列,我不胜感激!知道的请回答我我用的是RichTextBox控件
提问者采纳
GetLineFromCharIndex(r;t1& + (r.Items[&quot, EventArgs e)
s1;].SelectionStart-r.Items[&quot假设RichTextBCol.ToString().GetLineFromCharIndex(r; + r.GetFirstCharIndexFromLine(r;];t2&quot.SelectionStart))).Text = &quot:&quot.Text = &quot.ToString().SelectionStart)。生成r的SelectionChanged事件
private void r_SelectionChanged(object sender:&
s1,t2),Item添加StatusLabel(假设t1;添加StatusStrip(假设s1)控件;Ln
提问者评价
非常感谢!!!!!
其他类似问题
为您推荐:
记事本的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁Updated 8/1/ A.M. Pacific Time
Est. Tckts
BEST RANKING MOVIES
by Weekend Rank, 1982-Present
Note: Movies must have 7 top 5 weekends to qualify.1
$359,197,037
$177,200,000
$600,788,188
$210,609,762
$129,795,554
$234,760,478
$217,631,306
$229,242,989
$176,781,728
$184,208,848
$172,825,435
$174,803,506
$285,761,243
$329,694,499
$167,780,960
$108,423,489
$115,103,979
$252,583,617
$217,350,219
$204,843,345
$119,285,432
$156,645,693
$749,766,139
$178,406,268
$138,530,565
$78,868,508
$94,175,854
$58,972,904
$357,067,947
$219,195,243
$400,738,009
$156,452,370
$176,484,651
$105,492,483
$130,742,922
$123,922,370
$83,008,852
$63,541,777
$52,767,889
$241,438,208
$122,012,643
$117,727,224
$90,815,558
$100,047,830
$92,823,546
$64,783,827
$56,342,711
$62,493,712
$293,506,292
$216,540,909
$148,168,459
$141,340,178
$153,952,592
$139,605,150
$127,175,374
$138,433,435
$109,713,132
$170,687,518
$106,593,296
$87,071,205
$85,160,248
$76,572,238
$106,885,658
$68,392,977
$82,418,501
$80,640,528
$61,399,552
$73,707,461
$55,432,841
$66,995,879
$65,673,233
$70,001,698
$55,600,000
$40,491,165
$533,345,358
$408,010,692
$305,413,918
$183,875,760
$191,796,233
$150,415,432
$124,146,897
$233,632,142
$181,410,615
$250,863,268
$127,873,716
$171,479,930
$135,265,915
$148,478,011
$122,187,717
$119,938,730
$111,938,388
$217,581,231
$140,035,367
$136,801,374
$81,198,894
$187,168,425
$86,888,546
$79,817,937
$69,821,334
$86,303,188
$167,767,189
$76,253,806
$96,522,687
$66,758,538
$40,940,662
$39,321,715
$312,855,561
$306,169,268
$251,188,924
$377,027,325
$370,274,604
$339,714,978
$317,575,550
$241,721,524
$197,171,806
$351,032,910
$173,585,516
$333,176,600
$153,665,036
$172,956,409
$147,253,986
$140,088,813
$144,833,357
$255,959,475
$152,257,509
$92,921,203
$121,945,720
$121,697,323
$119,654,823
$124,060,553
$114,968,774
$135,026,902
$107,533,928
$108,766,007
$101,599,005
$80,035,402
$69,701,637
$89,325,780
$88,036,683
$67,642,693
$75,973,200
$145,000,989
$84,919,401
$90,757,863
$70,906,973
$90,464,773
$62,134,225
$65,207,127
$68,856,263
$69,467,617
$47,212,904
$63,408,614
$58,571,513
$52,293,982
$52,287,414
$57,114,049
$48,230,162
$40,577,001
$50,752,337
$43,579,163
$38,371,200
$46,616,067
$37,499,651
CHART NOTES
Movies must have been release in 1982 or later to qualify.
* Ties are broken by estimated number of ticket sales, in favor of the movie with more total tickets sold.
^ Total Gross does not include additional releases, if any.
** Release date.
RELATED CHARTSint colSize[]=new int [colCount]语句是什么意思_百度知道
int colSize[]=new int [colCount]语句是什么意思
提问者采纳
以new关键字为colSize数组动态分配内存!-------比如说colCount = 5.就等价于int colSize[5];
来自团队:
其他类似问题
为您推荐:
其他8条回答
创建一个大小是colCount的int 数组
创建一个int型的数组,大小为colCount,colCount肯定在上文中赋值了
建立一个int类型的数组,并且动态分配内容colosize是一个含有colCount个元素的int数组
声明整型数组,colSize为数组名,new int [colCount],为数组初始化,并初始数组长度为colCount
相当于语句:int cloSize[20];
并且全部初始化0,其中colCount=20
我觉得这个语句是错误的。应该改为:int *colSize=new int [colCount];下面程序编译通不过。#include &stdio.h&void main(){ int colCount=20; int colSize[]=new int [colCount];
//因这个语句是错误的,因此编译通不过。}
这样会报错,因为new返回的是一个指针,而把一个指针赋给一个数组就会报错,应该int *colSize=new int [colCount]
int colSize[]=new int [colCount]这句话用的比较奇怪哈,一般来说数组是可以直接进行赋值和初始化的,这里使用new变量进行初始化可以达到以下目的。当int colSize[]作为某个函数内定义的变量时,使用new关键字可以把数组的内存空间分配到程序的堆里面。这样的好处就是把他作为变量进行传递时就不会被改写或删除,直到使用delete关键字为止。举个我程序中碰见的例子:(简单的表述一下,不是正规代码)A(){
buf[100] = {1,1,1};
postmessage{b,buf};//在这里把buf作为消息,抛送给b进程。}此时,在B里面收到的参数可能就是错误的,原因在于buf的内存空间已经被释放掉了。
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 o2o是什么意思 的文章

 

随机推荐