Create a dynamic button in window application

  • Thread starter Thread starter wongz
  • Start date Start date
W

wongz

Hi,
i m trying to create a dynamic buttons based on the user right. I
manage to code this whole stuff in web application. Unfortunately i m
trying to write this code in window application it cant work. The
main reason is that they do not have preRender event in window
application. I m very new in window application and i hope some1 can
tell me about it.

Thanks
 
Hi,

You still have the constructor, as well as the Load event.
You can create controls dynamically in the constructor after the
InitializeComponent method was called.

wongz said:
Hi,
i m trying to create a dynamic buttons based on the user right. I
manage to code this whole stuff in web application. Unfortunately i m
trying to write this code in window application it cant work. The
main reason is that they do not have preRender event in window
application. I m very new in window application and i hope some1 can
tell me about it.

Thanks



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---
 
Back
Top