Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to subclass control?
Message
 
 
To
08/04/2007 19:35:48
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01184867
Message ID:
01213328
Views:
13
>
>Nah, you didn't mess it up. I've been doing a little catch-up work today anyway (in between goofing-off).
>

You got to have those "goofing-off" breaks in this business <g>.

>I have one project ... MyComp.WinUI.BasicClasses.DLL ... all of the simple controls, like TextBox, ComboBox, etc., are all contained in one file (one .cs file). This file basically contains the controls that can't be sub-classed visually. Then there are other, more complex controls (those that *can* be sub-classed visually), forms, menus, ToolBars, etc. in the project too, but they each have their own separate .cs file.
>

That is clear. I didn't realise the the forms, menus, etc. can be sub-classes visually. That's my next little "task".

>Also, you mentioned MyComp.WinUI.Data.DLL above ... I have a separate namespace for Data. IMHO, it shouldn't be in with the WinUI stuff, since we use it as a data transfer mechanism ... IOW, it's used in all layers, so it needs to be separate. So, it would be something like MyComp.DataSets.BasicClasses.DLL.
>

And I will follow the same approach too.

Thank you very much.

P.S. Just an hour before the premier of Sopranos <g> (don't miss it).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform