Esempio n. 1
0
        private void buttonRunScript_Click(object sender, EventArgs e)
        {
            ExecuteScriptEventArgs args = new ExecuteScriptEventArgs {
                Script = textBoxSript.Text
            };

            OnScriptReady(args);
            Close();
        }
Esempio n. 2
0
        protected virtual void OnScriptReady(ExecuteScriptEventArgs e)
        {
            ExecuteScriptEventHandler handler = ScriptReady;

            handler?.Invoke(this, e);
        }