SubClassing Security-Dialogs


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 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



Russell Scott Brown
Russell Scott Brown
StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)
Group: Forum Members
Posts: 124, Visits: 597
I just read an interesting article recently about subclassing the Strataframe's classes on Les Pinter's website (www.LesPinter.com) in the articles section. 

His site happens to be down now because of the winter blizzard affecting his hosting provider up in Michigan I believe.

Russ Brown (Using C#2010/SQL Server 2008)

Russell Scott Brown
Russell Scott Brown
StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)StrataFrame User (278 reputation)
Group: Forum Members
Posts: 124, Visits: 597
I forgot to mention it was article 413. 

His site is still down now however....

Russ Brown (Using C#2010/SQL Server 2008)

Les Pinter
Les Pinter
StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)
Group: Forum Members
Posts: 43, Visits: 213
Hi All,

   LesPinter.com is back up, and articles 414 and 415 are posted. 415 has a video that proves that the article is a ten-minute exercise, if you type as fast as I talk <g>

Les

Les Pinter
Les Pinter
StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 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 (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K 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

Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hello Guys,



Thanks for your anwsers. I was on Businesstrip and had no time to check

my question. I will try it now....





thank you very much



Rainer

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Rainer Kempf, RK (12/19/2009)
...Thanks for your anwsers. I was on Businesstrip and had no time to check my question. I will try it now....




Hi Rainer,



I though Business trips where now done via the Internet w00t

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