SubClassing Security-Dialogs


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)StrataFrame Novice (85 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hello



I Have a Question about Subclassing all Securtity Dialogs.

I want to subclass all Dialogs to add some Functionalltiy and Layout Features.

I there a Way to call my Classes in the Framework ?



Thank you very much



Rainer



Replies
Les Pinter
Les Pinter
StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)StrataFrame Team Member (69 reputation)
Group: Forum Members
Posts: 43, Visits: 213
Hi Rainer,

   I just right-clicked on a new StrataFrameWindowsAppWithSecurity project, selected Add Class, named it SecDialog.cs, and entered this:

using System;
using System.Collections.Generic;
using System.Text;

namespace SubClassSecDialogs
{
  class SecDialog: MicroFour.StrataFrame.Security.SecurityDialog
  { }
}

When I double-clicked on this humble filename in the Solution Explorer, I got the attached screen!

All properties are exposed and settable! I'd never tried it before. Thanks for the idea! Dang! Now i'll be up half the night playing with it...

Les

Edhy Rijo
E
StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Les Pinter (12/10/2009)
...When I double-clicked on this humble filename in the Solution Explorer, I got the attached screen!




Hi Les,



Guess you hit the "Post Reply" too fast Tongue I don't see the attached the screen Hehe



P.S.

Would you take a look at this post when you have some time? http://forum.strataframe.net/FindPost25383.aspx


Edhy Rijo

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