richTextBox插入表格 完整版

附件 https://files.cnblogs.com/xe2011/richTextBox_InsertTable_Full.rar

 

调用

   richTextBoxTableDlg dlg = new richTextBoxTableDlg();
            dlg.richTextBox = richTextBox51;

            if (dlg.ShowDialog() ==DialogResult.OK)
            {
                richTextBoxTable r1 = new richTextBoxTable();
                r1.richTextBox = richTextBox51;
                r1.cellWidth = (int)dlg.numericUpDownCellWidth.Value  ;
                r1.InsertTable((int)dlg.numericUpDownColumn.Value, (int)dlg.numericUpDownRow.Value, dlg.radioButtonAutoSzie.Checked);  
            }
View Code

 

 

posted @ 2013-12-03 17:08  XE2011  阅读(1433)  评论(0编辑  收藏  举报