public Color GetSelectionColor() { if (control.InvokeRequired) { GetSelectionColorDelegate del = new GetSelectionColorDelegate(GetSelectionColor); return (Color)control.Invoke(del); } else return control.SelectionColor; }
public Color GetSelectionColor() { if (control.InvokeRequired) { GetSelectionColorDelegate del = new GetSelectionColorDelegate(GetSelectionColor); return((Color)control.Invoke(del)); } else { return(control.SelectionColor); } }