Possible noob issue about radio buttons and xml in c# 
<p>Hello I'm currently self teaching C# and have run into a bit of a wall.</p>

<p>EDIT:I am doing Using a Windows Form application.</p>

<p>The program I'm currently working on can open existing <code>.XML</code> files for editing or create a new one. What I am tying to do is allow the user to click the radio buttons on the left that will auto populate the lines of code on the right which in tern at the end will be able to be exported.</p>

<p><strong>The question is how would I bind a section of code to to a radio button so that when the
radio button is selected it will add the code to the Richtextbox1 on the right?</strong></p>

<p>For example I have three radio buttons in a row such as <code>-all - none -one</code>. and when all is selected it will write the code I linked to the radio button starting at line 17 to however long it is, and when I select None it will remove that code from those lines (mainly for cases that the user starts playing with button).</p>

<p>Thank you ahead of time for any help, I do apologize also because I feel this might be an 
easy issue I may just not be wording my searches correctly. I've finished most the program
so far from the help of google but this has me stumped. Thank you again for your time.</p>
