Warnings in designer generated code next problem :-)

Detecting designer generated code by the name of the region causes some
problems :)

English:

#region Windows Form Designer generated code

German:

#region Vom Windows Form-Designer generierter Code


Better to detect

private void InitializeComponent()



Carsten Jendro


1 comment
Comment actions Permalink

Carsten,

I don't think that detecting InitializeComponent will suffice. The problem
is that other designers
may generate other methods, so it would be better to provide an option to
customize the
list of ignored regions.

"Carsten Jendro" <carsten.jendro@gmx.net> wrote in message
news:cc7j0p$1l4$1@is.intellij.net...

Detecting designer generated code by the name of the region causes some
problems :)

>

English:

>

#region Windows Form Designer generated code

>

German:

>

#region Vom Windows Form-Designer generierter Code

>
>

Better to detect

>

private void InitializeComponent()

>
>
>

Carsten Jendro

>
>


0

Please sign in to leave a comment.