This commit is contained in:
1 parent
9e110a467a
commit
2cc58f8df6
24 files changed
+112
-125
No files matched your search
@@ -15,14 +15,14 @@ namespace Elwig.Helpers.Printing {
|
||||
}
|
||||
|
||||
public static void Show(TempFile file, string title) {
|
||||
App.MainDispatcher.BeginInvoke(() => {
|
||||
App.Current.Dispatcher.BeginInvoke(() => {
|
||||
var w = new DocumentViewerWindow(title, file);
|
||||
w.Show();
|
||||
});
|
||||
}
|
||||
|
||||
public static void Show(string path, string title) {
|
||||
App.MainDispatcher.BeginInvoke(() => {
|
||||
App.Current.Dispatcher.BeginInvoke(() => {
|
||||
var w = new DocumentViewerWindow(title, path);
|
||||
w.Show();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user