🔒 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
  • 844
    Views
  • 3
    Participants
Last reply from:
JustFriends

Trending Topics

Online now

Members online
1,055
Guests online
15,625
Total visitors
16,680

Forum statistics

Threads
2,361,381
Posts
29,410,245
Members
1,058,331
Latest member
Sanguinius_29
Back
Top