Step 1: Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "EquationToRichTextBox" and then click OK
Step 2: Design your form as below

You need to add a math equation to wordpad -> save to .rtf file, then copy to resource of your project
Step 3: Add code to button click event handler as below
private void btnEquation_Click(object sender, EventArgs e)
{
richTextBox.SelectedRtf = Properties.Resources.Document;
}
VIDEO TUTORIALS