private void Baustein_SmthChanged(object sender, EventArgs e) { propertyGrid1.Refresh(); this.BackColor = Baustein.Unsicher ? unsafeColor : Color.FromKnownColor(KnownColor.Control); SmthChanged?.Invoke(this, EventArgs.Empty); }
protected void FireSmthChanged() { SmthChanged?.Invoke(this, EventArgs.Empty); }