Click here to Skip to main content
15,905,967 members
Home / Discussions / C#
   

C#

 
GeneralRe: what is Binding Source in vs.net 2005 and why oledb and sqldataadapter does not exist in vs2005 ? Pin
hdv21213-May-06 9:16
hdv21213-May-06 9:16 
AnswerRe: what is Binding Source in vs.net 2005 and why oledb and sqldataadapter does not exist in vs2005 ? Pin
NaNg1524113-May-06 10:05
NaNg1524113-May-06 10:05 
QuestionApplication prevents windows from exiting Pin
Mridang Agarwalla12-May-06 23:43
Mridang Agarwalla12-May-06 23:43 
AnswerRe: Application prevents windows from exiting Pin
leppie12-May-06 23:48
leppie12-May-06 23:48 
GeneralRe: Application prevents windows from exiting Pin
Mridang Agarwalla13-May-06 6:10
Mridang Agarwalla13-May-06 6:10 
QuestionHow to block popup window in axWebBrowser? Pin
Dima Filipiuk12-May-06 21:19
Dima Filipiuk12-May-06 21:19 
AnswerRe: How to block popup window in axWebBrowser? Pin
Member 438526521-Sep-09 20:39
Member 438526521-Sep-09 20:39 
QuestionFast Forms - Tricks of the Trade PLEASE Pin
redfish3412-May-06 21:05
redfish3412-May-06 21:05 
I am desparately trying to get my apps forms to load acceptably fast before release to users. I thought C# was suppose to be comparable to C++ in speed? It seems more like VB6 is a better comparison! I wish i knew the real deal before starting this project! I was lulled into a false sense of security when i kept reading about miracles on the internet about dramatic increases in performance with little tweaks. I thought a solution would come along sooner or later.

I am developing in NET 1.1. My computer is 1GHz Sony Laptop Windows 2K.

Description of my forms:

Combination of custom controls, forms, and user controls. By using panels and user controls as subforms, forms are up to 3 levels deep. Form have about 10-30 controls each on them. Controls used are stock labels, buttons, checkboxes, radio buttons, textboxes. Some forms have customized listviews and combos inherited from stock controls. All forms have button icons.

What i have done:

I have used the double buffering control style with AllPaintingInWmPaint and UserPaint in the forms, user controls and custom controls where i could. Code is in the constructor. I am using SuspendLayout, ResumeLayout to wrap control setup code that is outside the InitializeComponent method. It is called either in the constructor or Form Load. I tried precompiling assemblies. No performance gain there.

Double buffering slowed form load down but improved the sluggish drawing. Sluggish drawing persists. To describe, drawing of forms seems to be done in pieces, not all at once. Overall, the perception of loading has improved a notch, BUT NO MORE THAN A NOTCH! Frown | :( I will note that once the form loads the first time, future access during program excution is fast. It seems form graphics are cached by the CLR. But that first time loading! Ouch!

What can i do?


AnswerRe: Fast Forms - Tricks of the Trade PLEASE Pin
Robert Rohde12-May-06 22:35
Robert Rohde12-May-06 22:35 
QuestionRe: Fast Forms - Tricks of the Trade PLEASE Pin
Eddy Vluggen6-Aug-09 10:48
professionalEddy Vluggen6-Aug-09 10:48 
QuestionFinding File Paths from string Pin
abhinish12-May-06 21:05
abhinish12-May-06 21:05 
AnswerRe: Finding File Paths from string Pin
Ravi Bhavnani13-May-06 5:15
professionalRavi Bhavnani13-May-06 5:15 
AnswerRe: Finding File Paths from string Pin
DigitalKing13-May-06 9:00
DigitalKing13-May-06 9:00 
AnswerRe: Finding File Paths from string Pin
User 665813-May-06 9:39
User 665813-May-06 9:39 
Questionusing datarow array as data source Pin
Prashant Gadhave12-May-06 18:25
Prashant Gadhave12-May-06 18:25 
AnswerRe: using datarow array as data source Pin
led mike12-May-06 19:42
led mike12-May-06 19:42 
GeneralRe: using datarow array as data source Pin
Prashant Gadhave12-May-06 20:14
Prashant Gadhave12-May-06 20:14 
GeneralRe: using datarow array as data source Pin
led mike12-May-06 20:26
led mike12-May-06 20:26 
GeneralRe: using datarow array as data source Pin
Member 44517128-Sep-09 1:30
Member 44517128-Sep-09 1:30 
QuestionExplorer and filepath Pin
SoftcodeSoftware12-May-06 11:58
SoftcodeSoftware12-May-06 11:58 
AnswerRe: Explorer and filepath Pin
SoftcodeSoftware12-May-06 12:04
SoftcodeSoftware12-May-06 12:04 
Questiondraw inside a picturebox, how? Pin
Susuko12-May-06 11:45
Susuko12-May-06 11:45 
AnswerRe: draw inside a picturebox, how? Pin
leppie12-May-06 11:53
leppie12-May-06 11:53 
GeneralRe: draw inside a picturebox, how? Pin
Susuko12-May-06 23:57
Susuko12-May-06 23:57 
QuestionURGENT: Create hidden folder... Pin
SoftcodeSoftware12-May-06 10:38
SoftcodeSoftware12-May-06 10:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.