public void SelectUpperPermanent(ToothViewModel toothViewModel) { var no = int.Parse(toothViewModel.ToothNo); if (no < 19 && no > 10) { toothViewModel.Teeth.Add(toothViewModel); toothViewModel.IsSelected = true; } else if (no < 29 && no > 20) { toothViewModel.Teeth.Add(toothViewModel); toothViewModel.IsSelected = true; } }
public void SelectLowerTemporary(ToothViewModel toothViewModel) { var no = int.Parse(toothViewModel.ToothNo); if (no < 76 && no > 70) { toothViewModel.Teeth.Add(toothViewModel); toothViewModel.IsSelected = true; } else if (no < 86 && no > 80) { toothViewModel.Teeth.Add(toothViewModel); toothViewModel.IsSelected = true; } }
private void SelectLowerPermanent(ToothViewModel toothViewModel) { var no = int.Parse(toothViewModel.ToothNo); if (no < 49 && no > 40) { toothViewModel.IsSelected = true; toothViewModel.Teeth.Add(toothViewModel); } else if (no < 39 && no > 30) { toothViewModel.Teeth.Add(toothViewModel); toothViewModel.IsSelected = true; } }
private void SelectUpperTemporary(ToothViewModel toothViewModel) { var no = int.Parse(toothViewModel.ToothNo); if (no < 56 && no > 50) { toothViewModel.IsSelected = true; toothViewModel.Teeth.Add(toothViewModel); } else if (no < 66 && no > 60) { toothViewModel.Teeth.Add(toothViewModel); toothViewModel.IsSelected = true; } }