private void btncompile_Click(object sender, RoutedEventArgs e) { win.CompileScript(EditorControl.EditorSource); }