Hi Srinivasan,
Thanks for your update,
As we have explained in our previous update, In PopupMenu
child BarItems collection is maintained its ParentBarItem Items collection.
Each of BarItem can be accessed from its Items collection.
Code Snippet[C#]:
//BarItem stored in Items
collection
popupMenu1.ParentBarItem.Items[0].Click
+= new EventHandler(Form1_Click);
void Form1_Click(object
sender, EventArgs e)
{
MessageBox.Show((sender as BarItem).Text.ToString());
}
|
If we have misunderstood
your query, can you please share us more details about this requirement? That
will be helpful for us to analyze and provide you a prompt solution.
Regards,
Ashwini