krishna prasad

krishna prasad

  • NA
  • 1.1k
  • 164.6k

Context MenuStrip

Sep 17 2009 3:00 AM
Hai all

I have a small doubt regarding contextmenu strip.I have added contextmenu strip item to my windows application with two items "expand" and "collapse".I have also added a empty click event for it.

private void expand_Click(object sender, EventArgs e)
        {
            //Something
        }


private void collapse_Click(object sender, EventArgs e)
        {
           //Something

        }

Now what i need is as soon as as i select either expand or collapse.I want the current mouse position where exactly the expand or collapse is selected.


Hope i made myself clear..

Answers (2)