🔒 Closed .net windows application

Status
Not open for further replies.

deylann17

Enthusiast
Ask ko lang kung sino nakakaalam sa tool na to
hndi nman siya menustrip kasi sa button lang siya lumalabas
see the attachment please
 

Attachments

  • Untitled.webp
    Untitled.webp
    10.3 KB · Views: 58
context menu strip yan boss :) bale iset mo lang po sa properties ng button yung context menu strip na ginawa mo.. then sa onclick event ng button is icall mo lang po yung context menu strip :):)
 
Sige idol
Eto po code snippet na gamit ko po :) :

Button btnSender = (Button)sender;
Point ptLowerLeft = new Point(0, btnSender.Height);
ptLowerLeft = btnSender.PointToScreen(ptLowerLeft);
cmsCardTrans.Show(ptLowerLeft);

pwede niyo po siyang ilagay sa isang helper class para po ipasa niyo nalang po ang inyong button and contextmenustrip as parameters.. then icall niyo lang po yung function :)
 
Status
Not open for further replies.

About this Thread

  • 9
    Replies
  • 840
    Views
  • 3
    Participants
Last reply from:
JustFriends

Online now

Members online
952
Guests online
6,612
Total visitors
7,564

Forum statistics

Threads
2,349,341
Posts
29,361,795
Members
1,091,026
Latest member
hatphc122
Back
Top