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