コード例 #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
ファイル: UtilWindow.cs プロジェクト: erwin-hamid/LogPro
        //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();
        }