예제 #1
0
        //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();
        }
예제 #2
0
        //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();
        }