Click here to Skip to main content
16,012,223 members

Comments by Samiul Aman (Top 3 by date)

Samiul Aman 30-May-10 9:53am View    
Alright, I get your point and I honestly appreciate it. But I'm absolutely out of ideas on connecting remote computers using administrative rights. Please help me.

Thanks.
Samiul Aman 26-May-10 10:24am View    
Thanks brother. I've solved it through your answer. What happened was, instead of using public Property for private variables inside the UserControl class, I've been passing variable through it's constructor and as a result, I've been calling 'new UserControl(string s)' every time in the click-handler. Thanks again for the -- 'If there's only one user control then there's definitely no need to call new UserControl() in the click handler' part.

Also, base.Refresh() method is also helpful.

Thanks again.
Samiul Aman 26-May-10 8:00am View    
I've added the UserControl on a TabPage of a TabControl. So the code becomes
this.myTabPage.Controls.Add(this.userControl);

Is it OK?

Another thing, I can't understand about the base.Refresh() part.
Where exactly should I use it?

Thanks again.