如何在Windows窗体中制作功能区 [英] how to make ribbon in windows form

查看:59
本文介绍了如何在Windows窗体中制作功能区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在工具箱名称System.Windows.Forms.Ribbon35中添加了一个组件

然后我在表单上拖动它显示功能区控件但是当我正在紧接着然后关注错误。解决这个错误







1.

i have add asembly in tool box name "System.Windows.Forms.Ribbon35"
then i drag on form its showing ribbon control on form but when i compilying then shwing following error.how to solve this error



1 .

Error   2   The type or namespace name 'Ribbon' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?) d:\users\arvin6d\documents\visual studio 2010\Projects\WindowsFormsApplication3\WindowsFormsApplication3\Form1.Designer.cs  31  53  WindowsFormsApplication3







2




2

Error   3   The type or namespace name 'RibbonTab' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?)  d:\users\arvin6d\documents\visual studio 2010\Projects\WindowsFormsApplication3\WindowsFormsApplication3\Form1.Designer.cs  32  56  WindowsFormsApplication3







3




3

Error   4   The type or namespace name 'Ribbon' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?) d:\users\arvin6d\documents\visual studio 2010\Projects\WindowsFormsApplication3\WindowsFormsApplication3\Form1.Designer.cs  74  38  WindowsFormsApplication3







4




4

Error   5   The type or namespace name 'RibbonTab' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?)  d:\users\arvin6d\documents\visual studio 2010\Projects\WindowsFormsApplication3\WindowsFormsApplication3\Form1.Designer.cs  75  38  WindowsFormsApplication3

推荐答案

下载源代码(功能区)并为托管应用程序使用的目标平台重新编译它。我遇到了同样的问题,需要将其重新编译为.NET 4.0。
Download the source (Ribbon) and recompile it for the same target platform that your hosting application is using. I had the same issue and needed to recompile it to .NET 4.0.


这篇关于如何在Windows窗体中制作功能区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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