/// <summary>
 /// Handles the Click event of the compileToolStripMenuItem control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
 private void compileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     richTextBox.Text = richTextBox.Text.Replace("\t", " ").Trim();
     FileTracker.SaveFile(getFileContentString());
     updateFormText();
     saveToolStripMenuItem.Enabled = false;
     Utils.Compiler.Compile(richTextBox.Text, richTextBox1.Text, FileTracker.ActiveCompileFile);
 }
 /// <summary>
 /// Handles the FileOk event of the saveFileDialog control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="CancelEventArgs" /> instance containing the event data.</param>
 private void saveFileDialog_FileOk(object sender, CancelEventArgs e)
 {
     FileTracker.ActiveFile = new FileInfo(saveFileDialog.FileName);
     FileTracker.SaveFile(getFileContentString());
     updateFormText();
 }
 /// <summary>
 /// Handles the FileOk event of the saveCombiledFileDialog control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="CancelEventArgs" /> instance containing the event data.</param>
 private void saveCombiledFileDialog_FileOk(object sender, CancelEventArgs e)
 {
     FileTracker.SaveFile(getFileContentString());
     Utils.Compiler.Compile(richTextBox.Text, richTextBox1.Text, FileTracker.ActiveCompileFile);
 }
 /// <summary>
 /// Handles the Click event of the saveToolStripMenuItem control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FileTracker.SaveFile(getFileContentString());
     updateFormText();
     saveToolStripMenuItem.Enabled = false;
 }