void ScriptWarning(Script sender, Warning message) { textBox2.Text += String.Format("Warning: {0}", message.Message) + Environment.NewLine; }
public void SendWarning(Warning data) { Warn temp = Warning; if (temp != null) { temp(this, data); } }