Hide ContextMenuStrip when ListView is Empty

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tark Siala

    #1

    Hide ContextMenuStrip when ListView is Empty

    Hi
    I have ListView include customers (foe example), and connected to
    "ContextMenuStr ip" include (Edit Customer, Delete Customer, ...), when user
    right click on any Customer Item in ListView "ContextMenuStr ip"opened and
    user choose operation he want to do.
    But some time ListView is empty or user right click on empty row in
    ListView, how i can UnShow "ContextMenuStr ip" in this case?

    -----------
    Tarek M. Siala
    Software Developer
    مجرد تدوينات صغيرة في العصر الرقمي



Working...