InitializeComponent() Procedure

  • Thread starter Thread starter Mark Jackson
  • Start date Start date
M

Mark Jackson

Hi All,

I have been examining the default code for a Windows Form
and had a question about the InitializeComponent()
procedure.

Why is it preceded with
System.Diagnostics.DebuggerStepThrough()?

Is this there as protection, just in case the programmer
tries to alter the code that is already in place?

Thanks,
Mark
 
* "Cor said:
It skips this code when debugging

ACK. Nervetheless, I still don't understand why this line is included
in the templates. Some problems in 'InitializeComponent' can be solved
by removing the line and debugging the code.
 
Back
Top