private void BuildSource()
 {
     var script = new ScriptParser();
     var source = script.Split(SourceCodeTextEditor.Text);
     if (ExecuteTypeComboBox.SelectedIndex == 0)
     {
         _compiler.Method = source[1];
     }
     else if (ExecuteTypeComboBox.SelectedIndex == 1)
     {
         _compiler.Class = source[1];
     }
     else
     {
         _compiler.Namespace = source[1];
     }
     _compiler.Entry = source[0];
     _compiler.AssemblySources = AssemblyFilesTextEditor.Text;
     _compiler.Using = UsingTextEditor.Text;
     _compiler.SourceCode = TemplateTextEditor.Text;
 }