C# How to Subclass a Windows Form


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)Advanced StrataFrame User (628 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
This follows on from another thread with some other issues, but I am trying to subclass a Form with C# and say change the BackGround Colour to Blue.(Simple example but if I can get this to work, I should be able to get any other property to work)

I would have thought that this should be fairly simple, but cannot get it to work. I have subclasseed other controls that are dropped on a form ok

Has anybody subclassed a Form using C#. and changed a few properties ?

A sample of Code to do this in C# would really be appreciated. I have searchhed the forums here and Google, but still cant get it to work
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search