Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inherited property does not set to itself
Message
De
22/01/2005 17:45:04
 
 
À
22/01/2005 17:41:47
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
00979501
Message ID:
00979691
Vues:
11
OK, the #region stuff is the same. It's simply a way of grouping and collapsing code. What you're actually seeing is the constructor of your class. I assumed that you didn't have a constructor since you hadn't already put the code in there. I guess I shouldn't assume such things. Sorry. =( But, I'm glad you figured it out finally.

~~Bonnie




>>#Region? Is that different in VB than in C#?
>
>I don't know. But, this section is normally collapsed so I never saw it. It starts with something like this:
>
>
>#Region " Web Services Designer Generated Code "
>
>    Public Sub New()
>        MyBase.New()
>
>        'This call is required by the Web Services Designer.
>        InitializeComponent()
>
>        'Add your own initialization code after the InitializeComponent() call
>        cLogin = "Login"
>        cUrl = Framework.FileFunction.GetIni(Me.cStartupDirectory + "\Main.ini", "System", "Server")
>        cTempDir = Framework.FileFunction.GetIni(Me.cStartupDirectory + "\Main.ini", "System", "Temp")
>        cData = Framework.FileFunction.GetIni(Me.cStartupDirectory + "\Main.ini", "System", "Data")
>        cErrorDir = Framework.FileFunction.GetIni(Me.cStartupDirectory + "\Main.ini", "System", "ErrorDir")
>
>    End Sub
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform