Try
If e.Control And e.KeyValue = 221 Then
SpinEdit1.Value += 1
ElseIf e.Control And e.KeyValue = 219 Then
SpinEdit1.Value -= 1
ElseIf e.Control And e.KeyValue = 66 Then
F = New Font(txtdesc.SelectionFont.FontFamily.Name, txtdesc.SelectionFont.Size, FontStyle.Bold)
txtdesc.SelectionFont = F
ElseIf e.Control And e.KeyValue = 73 Then
F = New Font(txtdesc.SelectionFont.FontFamily.Name, txtdesc.SelectionFont.Size, FontStyle.Italic)
txtdesc.SelectionFont = F
ElseIf e.Control And e.KeyValue = 85 Then
F = New Font(txtdesc.SelectionFont.FontFamily.Name, txtdesc.SelectionFont.Size, FontStyle.Underline)
txtdesc.SelectionFont = F
ElseIf Not e.Control Then
F = New Font(FontEdit1.Text, SpinEdit1.Value, FontStyle.Regular)
txtdesc.SelectionFont = F
txtdesc.SelectionColor = ForeColor.Color
End If
Catch ex As Exception
End Try