title: How to find Context menu was shown and not to handle click events
body: <p>I got a quick question,</p>
  
  <p>I am developing a custom chart control. The chart control let users to draw lines or drop rectangle (could be anything). This start draw/ drop options are set to controls mouse down, left button click and mouse down right click is set to show context menu.</p>
  
  <p>My problem is, if user decide not to select anything and come out from context menu while it is shown they should left click on control as right click will show the menu again. But at the moment context menu is diapering and rest of the left click also executed. How can I verify context menu was shown on left click and user wants to come out from context menu and not to execute start draw/ drop logic.</p>
  
  <p><strong>Additional Info:</strong>
  I am working on C# project, I tried to capture context menu closed event but it triggers and closes itself before it comes to controls mouse down event and I can not verify was context menu was shown before to avoid going through rest of the left mouse button down event logic.</p>
  
  <p><strong>Any help is greatly appreciated in advance.</strong></p>