Click here to Skip to main content
15,923,219 members
Home / Discussions / C#
   

C#

 
GeneralRe: FTP delete folders with all subfolders and containing files Pin
simplexe17-May-06 2:27
simplexe17-May-06 2:27 
Questionhow drawing over calendar ? Pin
Susuko13-May-06 7:40
Susuko13-May-06 7:40 
AnswerRe: how drawing over calendar ? Pin
NaNg1524113-May-06 7:42
NaNg1524113-May-06 7:42 
Questionhow to display sub items in datagridview 2.0 Pin
J.Bhargavi13-May-06 4:28
J.Bhargavi13-May-06 4:28 
AnswerRe: how to display sub items in datagridview 2.0 Pin
Ravi Bhavnani13-May-06 5:06
professionalRavi Bhavnani13-May-06 5:06 
QuestionHow to validate an input XML file against an input XML schema file Pin
H he el el oooo13-May-06 3:23
H he el el oooo13-May-06 3:23 
AnswerRe: How to validate an input XML file against an input XML schema file Pin
Stefan Troschuetz13-May-06 21:59
Stefan Troschuetz13-May-06 21:59 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
H he el el oooo14-May-06 20:15
H he el el oooo14-May-06 20:15 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
H he el el oooo14-May-06 20:21
H he el el oooo14-May-06 20:21 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
Stefan Troschuetz14-May-06 23:22
Stefan Troschuetz14-May-06 23:22 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
H he el el oooo15-May-06 23:46
H he el el oooo15-May-06 23:46 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
H he el el oooo17-May-06 21:51
H he el el oooo17-May-06 21:51 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
Stefan Troschuetz17-May-06 22:14
Stefan Troschuetz17-May-06 22:14 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
H he el el oooo18-May-06 0:35
H he el el oooo18-May-06 0:35 
GeneralRe: How to validate an input XML file against an input XML schema file Pin
H he el el oooo18-May-06 0:38
H he el el oooo18-May-06 0:38 
Questionwhat is Binding Source in vs.net 2005 and why oledb and sqldataadapter does not exist in vs2005 ? Pin
hdv21213-May-06 1:00
hdv21213-May-06 1:00 
AnswerRe: what is Binding Source in vs.net 2005 and why oledb and sqldataadapter does not exist in vs2005 ? Pin
NaNg1524113-May-06 7:42
NaNg1524113-May-06 7:42 
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?


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.