Exemple #1
0
        private void textBox3_KeyUp(object sender, KeyEventArgs e)
        {
            //Console.WriteLine("key up");

            //过滤除了字母以及数字的按键
            if (KeyboardTimeline.IsAvailableKey(e.KeyValue))
                return;

            timeline.MarkUp(e.KeyValue);
        }
Exemple #2
0
        private void textBox2_KeyUp(object sender, KeyEventArgs e)
        {
            //过滤除了字母以及数字的按键
            if (KeyboardTimeline.IsAvailableKey(e.KeyValue))
            {
                return;
            }

            timeline.MarkUp(e.KeyValue);
        }