//public static void ShowPopUpShell(RegionNames regionName, object view, string viewName, bool clear) //{ // PopUpShell popUp = new PopUpShell(); // popUp.ShowViewInShell(regionName, view, viewName, clear); // popUp.ShowDialog(); //} internal static void ShowFile(ImageEntityRelation file) { string urlDocument = Util.GetFilePath(file); if (string.IsNullOrEmpty(urlDocument)) { return; } ViewDocumentBrowser fv = new ViewDocumentBrowser(urlDocument); fv.Show(); }
//public static void ShowPopUpShell(RegionNames regionName, object view, string viewName, bool clear) //{ // PopUpShell popUp = new PopUpShell(); // popUp.ShowViewInShell(regionName, view, viewName, clear); // popUp.ShowDialog(); //} internal static void ShowFile(ImageEntityRelation file) { string urlDocument = Util.GetFilePath(file); if (string.IsNullOrEmpty(urlDocument)) return; ViewDocumentBrowser fv = new ViewDocumentBrowser(urlDocument); fv.Show(); }