textcolor1 text 창 text 다양한 color 나오게 하기 c#에서 debug용으로 text를 띄울때 Rx와 Tx의 color를 각각 다르게 설정할 수 있습니다. 일반적인 TextBox가 아닌 RichTextBox로 가능합니다. 우선 RichTextBox를 만듦니다. 이제 Text창에 글자를 적어줍니다. String hex = BitConverter.ToString(sendPacket); String date = DateTime.Now.ToString(" yyyy-MM-dd HH:mm:ss.fff : "); messageRich.AppendText("\r\n"); messageRich.SelectionColor = Color.Blue; messageRich.AppendText("[TX] "); messageRich.AppendText(date); messageR.. 2020. 8. 15. 이전 1 다음 인기글