private void lstDrawCalls_DoubleClick(object sender, EventArgs e) { if (_updating) { return; } DrawCall drawCall = lstDrawCalls.SelectedItem as DrawCall; if (drawCall != null) { drawCall._render = !drawCall._render; lstDrawCalls.SetItemChecked(lstDrawCalls.SelectedIndex, drawCall._render); if (_targetObject?.Model != null) { TKContext.InvalidateModelPanels(_targetObject.Model); } } }
public override void SignalPropertyChange() { base.SignalPropertyChange(); TKContext.InvalidateModelPanels(Model); }