public void SetType(Watch.DisplayType type) { if (Watch.AvailableTypes(_settings.Size).Contains(type)) { _settings.Type = type; } }
public void SetType(Watch.DisplayType type) { if (Watch.AvailableTypes(_watch.Size).Contains(type)) { _watch.Type = type; Changes(); } }
private void SetTypeSelected(Watch.DisplayType type) { foreach (var item in DisplayTypeDropDown.Items) { if (item.ToString() == Watch.DisplayTypeToString(type)) { DisplayTypeDropDown.SelectedItem = item; return; } } }