private void ProcessInput(object sender)
{
var tree = CSharpSyntaxTree.ParseText(((TextBox) sender).Text);
var compilation = CSharpCompilation.Create("blackmire")
.WithOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
.WithReferences(MetadataReference.CreateFromFile(typeof (Int32).Assembly.Location))
.AddSyntaxTrees(tree);
var model = compilation.GetSemanticModel(tree, true);
var settings = new ConversionSettings();
var hw = new CppHeaderWalker(compilation, model, settings);
hw.Visit(tree.GetRoot());
HeaderBox.Text = hw.ToString();
var iw = new CppImplWalker(compilation, model, settings);
iw.Visit(tree.GetRoot());
CppBox.Text = iw.ToString();
}