예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChordDataViewModel" /> class.
 /// </summary>
 public ChordDataViewModel()
 {
     this.ChordKeyboardTappedCommand  = new DelegateCommand(this.OnChordKeyboardTapped, this.ChordKeyboardTappedCanExecute);
     this.FinderKeyboardTappedCommand = new DelegateCommand(this.OnFinderKeyboardTapped, this.FinderKeyboardTappedCanExecute);
     this.ScaleKeyboardTappedCommand  = new DelegateCommand(this.OnScaleKeyboardTapped, this.ScaleKeyboardTappedCanExecute);
     this.selectedInversion           = this.Inversions[0];
     this.FinderChord = Chord.Create("Mystery Chord", new List <int>());
 }
예제 #2
0
 public ChordDataViewModel()
 {
     this.Title = "Chord Factory";
     this.ChordKeyboardTappedCommand  = new Command(this.OnChordKeyboardTapped);
     this.FinderKeyboardTappedCommand = new Command(this.OnFinderKeyboardTapped);
     this.ScaleKeyboardTappedCommand  = new Command(this.OnScaleKeyboardTapped);
     this.selectedInversion           = this.Inversions[0];
     this.FinderChord = Chord.Create("Mystery Chord", new List <int>());
 }
예제 #3
0
 public void ResetFinderChord()
 {
     this.FinderChord = Chord.Create("Mystery Chord", new List <int>());
     this.FindChord();
 }