private void OnCreateCommand(object obj)
 {
     if (SelectedItem != null)
     {
         _fadeInWriter.WriteFade(SelectedItem);
     }
 }
Example #2
0
        private void OnButtonRight(object obj)
        {
            var bibleword = new BibleData(SelectedBook, SelectedChapter, SelectedVerses, BibleText);

            if (!_studioMode)
            {
                _historyViewModel.AddToHistory(bibleword);
            }
            _fadeInWriter.WriteFade(bibleword);
            _historyViewModel.SelectFade(bibleword);
            ClearView();
        }
Example #3
0
        private void OnButtonRight(object obj)
        {
            var hymnal = new HymnalData(_bookname, InputNumber, InputText, MelodieAutor, TextAutor, VerseList);

            if (!_studioMode)
            {
                _historyViewModel.AddToHistory(hymnal);
            }
            _fadeInWriter.WriteFade(hymnal);
            _historyViewModel.SelectFade(hymnal);
            ClearView();
        }
Example #4
0
        private void OnButtonRight(object obj)
        {
            var fade = new CustomInsert(TextLaneOne, TextLaneTwo);

            if (!_studioMode)
            {
                _historyViewModel.AddToHistory(fade);
            }
            _fadeInWriter.WriteFade(fade);
            _historyViewModel.SelectFade(fade);

            AddFade();
        }
 private void OnButtonRight(object obj)
 {
     if (SelectedItem != null)
     {
         if (!_studioMode)
         {
             _historyViewModel.AddToHistory(SelectedItem);
         }
         _fadeInWriter.WriteFade(SelectedItem);
         _historyViewModel.SelectFade(SelectedItem);
         FilterText   = "";
         SelectedItem = null;
     }
 }