public Font GetSelectionFont() { if (control.InvokeRequired) { GetSelectionFontDelegate del = new GetSelectionFontDelegate(GetSelectionFont); return (Font)control.Invoke(del); } else return control.SelectionFont; }
public Font GetSelectionFont() { if (control.InvokeRequired) { GetSelectionFontDelegate del = new GetSelectionFontDelegate(GetSelectionFont); return((Font)control.Invoke(del)); } else { return(control.SelectionFont); } }