Ejemplo n.º 1
0
        private void RefreshScales(IScale selectedScale = null)
        {
            Scales        = AppVM.GetScales();
            SelectedScale = null;

            if (null != selectedScale && null != Scales)
            {
                foreach (ObservableScale os in Scales)
                {
                    if (os.Scale == selectedScale)
                    {
                        SelectedScale = os;
                        break;
                    }
                }
            }
        }