private void SwapToolStripButtonStates() { Cell v = this.SelectedCell; this.toolStripButtonDelete.Enabled = (v != null); this.toolStripButtonEdit.Enabled = (v != null); }