Beispiel #1
0
        private void loadNewQuestion()
        {
            int kanaCount = 10; //mAllKana.Count;
            mCurrentKana = mAllKana[ran.Next(kanaCount)];
            mIsAnswerRomanji = true;// ran.NextDouble() > 0.5;

            lblPrompt.Text = mIsAnswerRomanji ? mCurrentKana.Hiragana : mCurrentKana.Romaji;
            txtAnswer.Clear();
            txtAnswer.Focus();
        }
Beispiel #2
0
        private void loadNewQuestion()
        {
            int kanaCount = 10; //mAllKana.Count;

            mCurrentKana     = mAllKana[ran.Next(kanaCount)];
            mIsAnswerRomanji = true;// ran.NextDouble() > 0.5;

            lblPrompt.Text = mIsAnswerRomanji ? mCurrentKana.Hiragana : mCurrentKana.Romaji;
            txtAnswer.Clear();
            txtAnswer.Focus();
        }
Beispiel #3
0
 public frmMain()
 {
     mAllKana = Kana.GetAll();
     InitializeComponent();
 }