Posted 29 May 2019, 11:29 am EST
Hi,
How can I set the click event for Ribbon button on Ribbon Application Menu.
Thanks,
Doit
Forums Home / ComponentOne / WinForms Edition
Posted by: levanduyet on 29 May 2019, 11:29 am EST
Posted 29 May 2019, 11:29 am EST
Hi,
How can I set the click event for Ribbon button on Ribbon Application Menu.
Thanks,
Doit
Posted 30 May 2019, 12:51 am EST
Hi Doit,
The events related to the buttons in ribbonapplicationMenu can be subscribed to, in code, as follows:
private void Form1_Load(object sender, EventArgs e)
{
.....
ribbonButton1.Click += RibbonButton1_Click;
}
private void RibbonButton1_Click(object sender, EventArgs e)
{
....
}
This has been implemented in the attached application for your reference.
Thanks.
prj_C1Ribbon_AppMenu_Button.zip