Esempio n. 1
0
        private void PrevCard_Click(object sender, EventArgs e)
        {
            DeckPosition deckPos = (DeckPosition)Convert.ToInt32((sender as Button).Tag);

            drill.PrevCard(deckPos);
            wordTextBox.Text = drill.CurrentWord();
        }
Esempio n. 2
0
        public DrillForm(Drill drill)
        {
            InitializeComponent();

            this.drill       = drill;
            wordTextBox.Text = drill.CurrentWord();

            wordTextBox.AutoSize = false;
        }