Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

Adding too many control to panel control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vikash@nagarro.com - 08 Dec 2004 15:09 GMT
Hi all,

in the C# windows application i am working now, i have created one User
Control. And in the panel control depeding on some conditions i am
dynamically adding lots of instance of My User control.

so may be my panel control is having the 100's of instance of the User
control.

But the problem is that, when the no of user controls added is too
much, the maximize and and minimize of my window becomes too slow

can any body help me out what can be the reason of the same
A quick and positve response will be highly obliged

Thanks
Vikash
Herfried K. Wagner [MVP] - 08 Dec 2004 17:37 GMT
<vikash@nagarro.com> schrieb:
> in the C# windows application i am working now, i have created one User
> Control. And in the panel control depeding on some conditions i am
[quoted text clipped - 8 lines]
> can any body help me out what can be the reason of the same
> A quick and positve response will be highly obliged

Try to reduce the number of usercontrol instances, for example, by reusing
one usercontrol for multiple recordsets by filling it with the data of the
selected recodset.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/

vikash@nagarro.com - 09 Dec 2004 09:45 GMT
Hi,

Thanks for the quick respose. But here the problem is that, the user
control that i m showing is some what the list of the data. and the
default Windows data grid does not have support lots of things in the
default way. and my list page is really very complecated once.

so i have create one user control for each row of the list page and
adding this row control for each row of the page.

Without modifying my existing design do u have any idea if i can get
rid of the problem which comes when i maximize / minimize my window??

Thanks
Vikash

> <vikash@nagarro.com> schrieb:
> > in the C# windows application i am working now, i have created one User
[quoted text clipped - 18 lines]
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.