You can skip that part, if you are only interested in internal Injection
Api.External.execute("string script");
private void ExecuteButton_Click(object sender, EventArgs e) {
Api.External.execute("print('Hello, World')");
}
its recommended to put richtextbox1.Text instead of a script.
private void ExecuteButton_Click(object sender, EventArgs e) {
Api.External.execute(richTextBox1.Text);
}
While the name of the Editor richTextBox1 is.