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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top