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

Trending Topics

Online now

Members online
355
Guests online
6,294
Total visitors
6,649

Forum statistics

Threads
2,328,099
Posts
29,239,726
Members
1,161,498
Latest member
defe
Back
Top