如何在文本编辑器中创建工具栏 [英] How can I create toolbar in text editor
本文介绍了如何在文本编辑器中创建工具栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在C#的Windows应用程序中创建像 notepad ++ 这样的文本编辑器.
我用了richtextbox, menustrip, statusStrip, saveDialog, openDialog, FontDialog
等.
但是我不知道如何将工具栏,格式栏(如写字板,Visual Studio等)放置在菜单命令的下方.
如何将字体选择下拉菜单,字体颜色选择DropDown
放在菜单下面.
I am creating a Text-editor like notepad++ in windows application in C#.
I used A richtextbox, menustrip, statusStrip, saveDialog, openDialog, FontDialog
etc.
But I don’t know how to place the Toolbar, Formatbar like wordpad, visual studio etc like, below to menu command.
How can I place the font selection drop down, font color selection DropDown
below to menus.
推荐答案
这很简单.从工具栏拖放ToolStrip控件
以您的形式. :)
It''s very simple.You can do this by just dragging and dropping ToolStrip Control from toolbar
in your form. :)
这篇关于如何在文本编辑器中创建工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文