RTB.SelectAll(); string[] textArray = RTB.SelectedText.Split(new char[] { '\n' }); foreach (string strText in textArray) { if (!string.IsNullOrEmpty(strText)) RTB.Rtf = RTB.Rtf.Replace(strText, strText.ToUpper()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)