Beispiel #1
0
        private void FlashcardTester_KeyDown(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
            case Keys.D:
                RightBtn.PerformClick();
                break;

            case Keys.A:
                LeftBtn.PerformClick();
                break;

            case Keys.F:
                FlashcardBtn.PerformClick();
                break;
            }
        }
Beispiel #2
0
 private void FlashcardBtn_SizeChanged(object sender, EventArgs e)
 {
     FlashcardBtn.ScaleFontToFit(4, 14);
 }
Beispiel #3
0
 private void FlashcardBtn_TextChanged(object sender, EventArgs e)
 {
     //FitButtonToText();
     FlashcardBtn.ScaleFontToFit(4, 14);
 }