Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 3
0
 public frmMain()
 {
     mAllKana = Kana.GetAll();
     InitializeComponent();
 }