2010년 2월 17일 수요일

A Windows Forms based text editor with HTML output

출처 http://www.codeproject.com/KB/edit/editor_in_windows_forms.aspx


C# 윈폼을 이용한 WYSIWYG HTML 에디터
.Net 윈폼을 이용한 html 에디터

댓글 1개:

  1. Internet Explorer 9

    private void SetupEvents()
    {
    webBrowser1.Navigated += new WebBrowserNavigatedEventHandler(webBrowser1_Navigated);
    webBrowser1.GotFocus += new EventHandler(webBrowser1_GotFocus);
    webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.theBrowser_DocumentCompleted);
    }

    2. Write function
    private void theBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
    {
    webBrowser1.Document.Write(webBrowser1.DocumentText);
    doc.designMode = "On";
    }

    http://www.codeproject.com/Articles/15559/A-Windows-Forms-based-text-editor-with-HTML-output?msg=3812436#xx3812436xx

    답글삭제