private void btnMarkConvertToTable_Click(object sender, RoutedEventArgs e) { WinTableConvert tc = new WinTableConvert(); tc.Owner = this; var tbResult = tc.ShowDialog(); if (tbResult.HasValue && tbResult.Value) { markEdit.textEditor.SelectedText = tc.MarkTableStr; } }
private void btnMarkConvertToTable_Click(object sender, RoutedEventArgs e) { WinTableConvert tc = new WinTableConvert(); tc.Owner = this; var tbResult = tc.ShowDialog(); if (tbResult.HasValue && tbResult.Value) { markEdit.textEditor.SelectedText = tc.MarkTableStr; } }