Hi,
I need to sign some files using a certificate from a smart card.
I have a grid with the files and, using the PopupMenuShowing event, I show a button that let the user select the certificate, requires the pin and signs the focused file.
The problem is that, after the selection window is shown (using System.Cryptography methods), the popup menu starts behaving in a strange way. It pops up but instantly closes and stays opened only if a second right click is made on the same point/pixel.
I made a sample project to prove the issue. Open the form, right click on a cell of a grid and click the menu button.
While working on the sample project, I noticed that, without the ribbon, the menu behaves normally.
Is there something I can do to resolve the problem?