/// <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); } } }
/// <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); } } }