コード例 #1
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();
        }
コード例 #2
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();
        }
コード例 #3
0
        private void OnButtonRight(object obj)
        {
            var fade = new CustomInsert(TextLaneOne, TextLaneTwo);

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

            AddFade();
        }
コード例 #4
0
 private void OnButtonRight(object obj)
 {
     if (SelectedItem != null)
     {
         if (!_studioMode)
         {
             _historyViewModel.AddToHistory(SelectedItem);
         }
         _fadeInWriter.WriteFade(SelectedItem);
         _historyViewModel.SelectFade(SelectedItem);
         FilterText   = "";
         SelectedItem = null;
     }
 }