Exemplo n.º 1
0
        private async Task OpenStorageFile(StorageFile file)
        {
            if (file != null)
            {
                await MediaPlayerViewModel.ChangeSourceAsync(file);

                FreqCounterViewModel.ResetFreqCounter();
                IsFreqCounterOpen = true;
                _DataService.SaveOpenedFileToMru(file);
            }
        }
Exemplo n.º 2
0
 public SelectionRectangleComputationViewModel(Color color, SelectionRectangleViewModel parent)
 {
     (this.color, this.parent) = (OxyColor.FromArgb(255, color.R, color.G, color.B), parent);
     FreqCounterViewModel.IsRoiSameAsResultSomeChange(false);//obsolete result, when new roi is added
 }