private void Style_SelectedIndexChanged(object sender, EventArgs e) { if (OnStyleChanged != null) { OnStyleChanged.Invoke(style.SelectedItem as string); } }
protected virtual void StyleChanged() => OnStyleChanged?.Invoke();
public void NotifyStyleChanged() => OnStyleChanged?.Invoke();
/// <summary> /// Fires OnStyleChanged event /// </summary> public static void UpdateSyntaxStyle() { OnStyleChanged?.Invoke(); }