StrataFrame Forum

SubClassing Security-Dialogs

http://forum.strataframe.net/Topic25373.aspx

By Rainer Kempf, RK - 12/9/2009

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


By Russell Scott Brown - 12/10/2009

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.

By Russell Scott Brown - 12/10/2009

I forgot to mention it was article 413. 

His site is still down now however....

By Les Pinter - 12/10/2009

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

By Les Pinter - 12/10/2009

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

By Edhy Rijo - 12/10/2009

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
By Rainer Kempf, RK - 12/18/2009

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
By Edhy Rijo - 12/19/2009

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