1
Answer

context menu strip for a button

Ask a question
j_sen21

j_sen21

16y
10.3k
1

Is there a way when clicking a button, menu pops up with new buttons in a menu strrip.

I tried below and the event doesnt know ackowledge anything but tostring, getype and hash and equals.

thanks

 

private void btnBusiness_Click(object sender, EventArgs e)

{

//UpdateAttributes();

if (e.Button == MouseButtons.Left)

{

this.contextMenuStrip1.Show(this.btnBusiness, e.Location);

}

 

}


Answers (1)