private void OnStep(Int32 index) { MinesweeperField field = Fields[index]; _model.Step(field.X, field.Y); RefreshTable(); }
private void OnAlert(Int32 index) { MinesweeperField field = Fields[index]; if (field.Color == "Red") { field.Color = "White"; } else { field.Color = "Red"; } RefreshTable(); }