Example #1
0
 private void OnButtonLeft(object obj)
 {
     if (_studioMode)
     {
         var bibleword = new BibleData(SelectedBook, SelectedChapter, SelectedVerses, BibleText);
         _historyViewModel.AddToHistory(bibleword);
         ClearView();
         return;
     }
     _fadeInWriter.ResetFade();
     _historyViewModel.SelectedIndex = -1;
 }
Example #2
0
 private void OnButtonLeft(object obj)
 {
     if (_studioMode)
     {
         var hymnal = new HymnalData(_bookname, InputNumber, InputText, MelodieAutor, TextAutor, VerseList);
         _historyViewModel.AddToHistory(hymnal);
         ClearView();
         return;
     }
     _fadeInWriter.ResetFade();
     _historyViewModel.SelectedIndex = -1;
 }
        private void OnButtonLeft(object obj)
        {
            if (_studioMode)
            {
                _historyViewModel.AddToHistory(SelectedItem);
                FilterText   = "";
                SelectedItem = null;
                return;
            }

            _fadeInWriter.ResetFade();
            _historyViewModel.SelectedIndex = -1;
            SelectedItem = null;
        }
Example #4
0
        private void OnButtonLeft(object obj)
        {
            if (_studioMode)
            {
                var fade = new CustomInsert(TextLaneOne, TextLaneTwo);
                _historyViewModel.AddToHistory(fade);
                AddFade();
                return;
            }

            _fadeInWriter.ResetFade();
            SelectedIndex = -1;
            _historyViewModel.SelectedIndex = -1;
            TextLaneOne = "";
            TextLaneTwo = "";
        }