/// <summary> /// 답변 게시글에 Re 붙이기? /// </summary> private void DisplayDataForReply() { var note = (new NoteRepository().GetNoteById(Convert.ToInt32(_Id))); txtTitle.Text = $"re: {note.Title}"; txtContent.Text = $"\n\nOn {note.PostDate}, '{note.Name}' wrote:\n-----------\n> {HtmlUtility.Decode(note.Content.Replace("\n", "\n>"))}\n----------"; // 인코딩 방식에 따른 라디오 버튼 선택 string strEocoding = note.Encoding; if (strEocoding == "Text") { rdoEncoding.SelectedIndex = 0; } else if (strEocoding == "Mixed") { rdoEncoding.SelectedIndex = 2; } else { rdoEncoding.SelectedIndex = 1; } }