79486614

Date: 2025-03-05 13:22:26
Score: 1
Natty:
Report link
private void OnMenuItemClick(object sender, EventArgs e)    
{   
    var mnItem = sender as MenuItem;
    Control c = mnItem.Parent.GetContextMenu().SourceControl;
    if(c == neefullControl)
    {
        ...
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mr Smith