Exemplo n.º 1
0
        private void tsmRepeat_Click(object sender, EventArgs e)
        {
            KB9TextBox t   = GetFocusedTextBox();
            frmRepeat  frm = new frmRepeat();
            int        n   = frm.InputRepeat();

            if (n <= 0)
            {
                return;
            }


            string s = n.ToString();

            s = "Repeat" + s;
            t.AddKeyCode(s, true);
        }
Exemplo n.º 2
0
        private void tsbRepeat_Click(object sender, EventArgs e)
        {
            frmOnScreenKbd.Instance().Hide();
            KB9TextBox t = GetFocusedTextBox();

            if (t == null)
            {
                return;
            }
            frmRepeat frm = new frmRepeat();
            int       n   = frm.InputRepeat();

            if (n <= 0)
            {
                return;
            }


            string s = n.ToString();

            s = "Repeat" + s;
            t.AddKeyCode(s, true);
        }