Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Trying to merge the ribbon and form

Any help would be appreciated as I would like to update an existing project and this look control is by far the best option I have found

What I have tried:

I have tried converting the C#
public partial class Form1 : RibbonForm

to
Partial Public Class MainForm
        Inherits RibbonForm


but it gives an error

BC30928 Base class 'RibbonForm' specified for class 'MainForm' cannot be different from the base class 'Form' of one of its other partial types. NTools6 C:\VS Source\NTools6\NTools6\MainForm.vb
Posted
Updated 26-Mar-18 7:31am

1 solution

To use Ribbon with Windows Forms, use: GitHub - RibbonWinForms/RibbonWinForms: An Office Ribbon Control for .NET WinForms[^]

Here's very interesting article which may help you understand how to use it: Easily Add a Ribbon into a WinForms Application[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900