private void undoCellTextChangeToolStripMenuItem_Click(object sender, EventArgs e) { ICmd temp = mySpreadsheet.popUndo(); mySpreadsheet.AddRedo(temp.Exec()); redoCellTextChangeToolStripMenuItem.Enabled = true; }