如何在codeproject中设置控件 [英] how to set control like in codeproject

查看:93
本文介绍了如何在codeproject中设置控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

codeproject home,article,quick答案中的控件是什么..
但是我不希望这两种方式都列出.当我单击文章菜单时,它不应仅显示列表.应该显示article.aspx页.请参阅http://forums.asp.net/t/1521174上的home,getstarted等. .aspx.

解决方案

它称为带有菜单项的菜单


这是菜单栏控件.
链接将为您提供详细的想法.
http://ivreddy.com/how-to-create-menu-bar-in-c-sharp-dot-net-windows-application.详细概念.
http://ivreddy.com/how-to-create-menu-bar-in-c-sharp-dot-net-windows-application/

然后按照我的步骤进行操作
1-拖动MenuStrip
2- u将出现在此处键入-在此处写文章,因为它将显示文本.
3-在设计时双击Article菜单,然后将生成articleToolStripMenuItem_Click事件.
4-在事件中写入
article f2 = new article();//此处为您的表单名称.
f2.Show();
5次运行的应用程序.


What are the controls like in codeproject home,article,quick answers..
But I do not want list of items in both ways.When I click article menu it should not show list only article.aspx page should display.Please see home ,getstarted etc at http://forums.asp.net/t/1521174.aspx.

解决方案

Its called a menu with menu items


This is Menubar control.
link will give you detail idea.
http://ivreddy.com/how-to-create-menu-bar-in-c-sharp-dot-net-windows-application.


First u go through given list for detail concept.
http://ivreddy.com/how-to-create-menu-bar-in-c-sharp-dot-net-windows-application/

Then follow my steps;
1- Drag MenuStrip
2- u will appear Type Here -write there Article as it will be text be display.
3- Double Click on Article menu in design time then articleToolStripMenuItem_Click event will generate.
4- in event write
article f2 = new article();//aricle as ur form name here.
f2.Show();
5-run application.


这篇关于如何在codeproject中设置控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆