Example #1
0
        private void formatAllFigures_Click(object sender, RibbonControlEventArgs e)
        {
            DocControlLoadingForm form;

            using (form = new DocControlLoadingForm(FormatAllFigures, "Formatting all figures.")) {
                form.ShowDialog();
            }
        }
Example #2
0
        /** ======================= Acronym Table Group ======================= **/

        private void formatTable_Click(object sender, RibbonControlEventArgs e)
        {
            Tools.StartWait();

            DocControlLoadingForm form;

            using (form = new DocControlLoadingForm(Tools.FormatTable, "Formatting table.")) {
                form.ShowDialog();
            }

            Tools.EndWait();
        }