private void openTSMI_Click(object sender, EventArgs e)
 {
     try
     {
         InstructionSetComponent obj = new InstructionSetSystem.InstructionSetComponent();
         rtbDisplay.LoadFile(obj.Open(), RichTextBoxStreamType.RichText);
     }
     catch (Exception errorMsg)
     {
         MessageBox.Show(errorMsg.Message);
     }
 }
 private void saveTSMI_Click(object sender, EventArgs e)
 {
     try
     {
         InstructionSetComponent obj = new InstructionSetSystem.InstructionSetComponent();
         obj.Save(rtbDisplay);
         MessageBox.Show("File Saved Sucessfully");
     }
     catch (Exception errorMsg)
     {
         MessageBox.Show(errorMsg.Message);
     }
 }
 private void legalTxtMenu_Click(object sender, EventArgs e)
 {
     instructionTxtMenu.Checked = false;
     // Italics Text
     try
     {
         InstructionSetComponent obj = new InstructionSetSystem.InstructionSetComponent();
         obj.LegalTextBlock(rtbDisplay, legalTxtMenu);
     }
     catch (Exception errorMsg)
     {
         MessageBox.Show(errorMsg.Message);
     }
 }
 private void instructionTxtMenu_Click(object sender, EventArgs e)
 {
     legalTxtMenu.Checked = false;
     // Instruction Text Block (Number List and Bold Text)
     try
     {
         InstructionSetComponent obj = new InstructionSetSystem.InstructionSetComponent();
         obj.InstructionTextBlock(rtbDisplay, instructionTxtMenu);
     }
     catch (Exception errorMsg)
     {
         MessageBox.Show(errorMsg.Message);
     }
 }