private void CallForm_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\n' || e.KeyChar == ' ') { Root.callshortcut(); } }
private void _Click(object sender, EventArgs e) { Root.callshortcut(); }