private void Hyperlink_Click(object sender, RoutedEventArgs e) { wnd_ExceptionDetails exd = new wnd_ExceptionDetails(); exd.tbException.Text = report_text; exd.Owner = this; exd.ShowDialog(); }