블로그 이미지
stluck

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday

'VisualStudio'에 해당되는 글 1건

  1. 2011.05.22 [Visual Studio] TextBox String Read & Write
2011. 5. 22. 17:12 Programming/C/C++/C#
TextBox의 MultiLine에서 TextBox의 String을 읽는 두가지 방법

1. Index 사용  ->lines 는 array 속성
for(int read_loop = 0; read_loop < this->tB_WriteDataSeq->Lines->Length ; read_loop++ ) {
this->tB_ReadDataSeq->AppendText(this->tB_WriteDataSeq->Lines[read_loop] + Environment::NewLine);
}

2. Index 사용하지 않고 전체String Read -> text는 String 속성
this->tB_ReadDataSeq->AppendText(this->tB_WriteDataSeq->Text + Environment::NewLine );
   
posted by stluck