public void ClearCell(object control) { CellButton currentButton = control as CellButton; currentButton.Dispose(); }