Esempio n. 1
0
 private void OnDataProxyEvent(DataProxyEvent e)
 {
     if (e.type == DataProxyEventType.Reset)
     {
         ClearDisplay();
     }
 }
Esempio n. 2
0
 private void OnDataProxyEvent(DataProxyEvent e)
 {
     if (e.type == DataProxyEventType.Reset)
     {
         ChangeEnvironment(defaultEnvironmentIndex, null);
     }
 }
Esempio n. 3
0
    public void DisplayFirst(DataProxyEvent e)
    {
        if (e.type != DataProxyEventType.Start)
        {
            return;
        }
        LearningSetItem startItem = extendedSet.GetItemForCompound("一");

        SetCurrentData(startItem);
    }
Esempio n. 4
0
    private void OnDataLoaded(DataProxyEvent e)
    {
        if (e.type != DataProxyEventType.Ready)
        {
            return;
        }

        bool passed = (TestKanji() &&
                       TestConjugations() &&
                       //TestNounsAndConjugationsAreInPBPLookupFile () &&
                       TestNounsAndConjugationsArePresentInLearningSets() &&
                       TestLearningSets()) &&
                      TestNoDuplicatesInLearningSets();
    }
Esempio n. 5
0
 private void OnDataProxyEvent(DataProxyEvent e)
 {
     if (e.type == DataProxyEventType.Ready)
     {
         ClearButtons();
         OnIntroNext();
     }
     else if (e.type == DataProxyEventType.Reset)
     {
         _introCount   = 0;
         _conceptIndex = 0;
         HideConcepts();
         ClearButtons();
         OnIntroNext();
     }
 }