Skip to content
</> Mücahit TopalA developer's notebook

Blog/C#

A Text Editor with C# ( mshtml )

Mücahit Topal 1 min read 6,680 views TREN

A Text Editor with C# ( mshtml )

I'm sharing with you a text editor that will come in handy for many of us and that you can, of course, develop further however you like. The sample project file is below, with the source code included; the rest is up to you. 

We add MSHTML.dll from the references. Then we bring the dll in with a using statement.

For the form we need one webbrowser and one toolStrip. After adding these controls, put either buttons or labels on the toolStrip to indicate the functions you want to use. ("bold, italic, center, align right, etc.")

You can find the code in the sample project.

Download

,,,,,,

Share X Facebook LinkedIn WhatsApp

More from this category

Comments 4

DOKSANDOKUZ

CW İÇİNDE YAZI EDİDÖTRÜ YAPARSANIZ SEVİNİRM, KOLAY GELSİN :)

admin

Fikriniz için teşekkürler ,fırsatını bulduğumda gelistirebilirim..

Emre

Çok teşekkür ederim, işime yarayacak tam olarak bunu arıyordum. Emeklerinize sağlık :)

Gökhun Gündüz

merhabalar, öncelikle elinize sağlık.

 

projeyi kendim için kullanmaya başladım fakat editor.document de dğeişiklik yaptığımda uyyarı ekranı çıkıyor:

Başlık  > Auto:Blank

Bu belgede değişikli yapıldı. Onaylıyorsanız evet e tıklayın gibi uyarı çıkıyor. bu uyarıyı bir türlü kapatamıyorum kodlarını bulamadım yardımcı olur musunuz?

Leave a comment

Comments appear after approval.