Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inherited property does not set to itself
Message
From
22/01/2005 17:45:04
 
 
To
22/01/2005 17:41:47
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
00979501
Message ID:
00979691
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform