MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / textBox1_KeyPress

Method textBox1_KeyPress

TexturedFontEditor/Dialog_InputBox.cs:62–70  ·  view source on GitHub ↗
(object sender, KeyPressEventArgs e)

Source from the content-addressed store, hash-verified

60 }
61
62 private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
63 {
64 if (e.KeyChar == '\r')
65 {
66 e.Handled = true;
67 _InputText = textBox1.Text;
68 DialogResult = DialogResult.OK;
69 }
70 }
71 }
72}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected