Inheritance: NetIde.Core.Support.EditorWindow, INiDiffViewerWindow
Esempio n. 1
0
        public override HResult CreateEditor(string document, out string editorCaption, out INiWindowPane editor)
        {
            editor = null;
            editorCaption = null;

            try
            {
                editor = new DiffViewerWindow();
                editor.SetSite(this);

                return HResult.OK;
            }
            catch (Exception ex)
            {
                return ErrorUtil.GetHResult(ex);
            }
        }
Esempio n. 2
0
        public override HResult CreateEditor(string document, out string editorCaption, out INiWindowPane editor)
        {
            editor        = null;
            editorCaption = null;

            try
            {
                editor = new DiffViewerWindow();
                editor.SetSite(this);

                return(HResult.OK);
            }
            catch (Exception ex)
            {
                return(ErrorUtil.GetHResult(ex));
            }
        }