2
Answers

Context MenuStrip

krishna prasad

krishna prasad

15y
6.1k
1
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)