private void highText(RichTextBox rtb, int Start, string Text, int FontSize) { rtb.SelectionStart = Start; rtb.SelectionLength = Text.Length; rtb.SelectionCharOffset = 4; rtb.SelectionFont = new Font("Microsoft Sans Serif", FontSize); } private void lowText(RichTextBox rtb, int Start, string Text, int FontSize) { rtb.SelectionStart = Start; rtb.SelectionLength = Text.Length; rtb.SelectionCharOffset = -4; rtb.SelectionFont = new Font("Microsoft Sans Serif", FontSize); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)