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); }
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); }