示例#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;
            }
        }
示例#2
0
 private void FlashcardBtn_SizeChanged(object sender, EventArgs e)
 {
     FlashcardBtn.ScaleFontToFit(4, 14);
 }
示例#3
0
 private void FlashcardBtn_TextChanged(object sender, EventArgs e)
 {
     //FitButtonToText();
     FlashcardBtn.ScaleFontToFit(4, 14);
 }