FontDialog fd1 = new FontDialog(); private void edit_Click(object sender, EventArgs e) { fd1.Font = textbox.SelectionFont; if(fd1.ShowDialog() != DialogResult.Cancel) { textbox.Font = fd1.Font; } }
SelectionStart
SelectionLength
SelectionColor
SelectionBackColor
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)