Exemplo n.º 1
0
 /// <summary>
 /// 插入表格事件
 /// </summary>
 private void InsertTableExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     if (htmldoc != null)
     {
         TableDialog d = new TableDialog();
         d.Owner = this.hostedWindow;
         if (d.ShowDialog() == true)
         {
             htmldoc.InsertTable(d.Model);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 插入表格事件
 /// </summary>
 private void InsertTableExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     if (htmldoc != null)
     {
         TableDialog d = new TableDialog();
         d.Owner = this.hostedWindow;
         if (d.ShowDialog() == true)
         {
             htmldoc.InsertTable(d.Model);
         }
     }
 }