Example #1
0
 public DigitalVoltmeterForm()
 {
     InitializeComponent();
     InitializeDataGrid();
     expandingForm = new GraphExpandingForm();
     errorFont     = new Font(dataGridViewVect.Font, FontStyle.Bold);
     word          = new WordTools(progressBar);
 }
Example #2
0
        private void FillRichTextBoxFromWord(string docxFile)
        {
            richTextBox.Text = string.Empty;
            string rtfPath = string.Empty;

            rtfPath = WordTools.GetRTFFromDOCXFile(docxFile);
            richTextBox.LoadFile(rtfPath);
        }