Previous Next

Thread: Workaround for the abstract base classes ?

Last post 12-03-2007 10:49 AM by perb. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 12-03-2007, 9:37 AM

    • perb
    • Not Ranked
    • Joined on 12-03-2007, 9:34 AM
    • Posts 6
    • perb

    Workaround for the abstract base classes ?

    I'm trying to build a extension that uses the WizardForm/WizardPage base classes but those are abstract and the designer in Visual Studio 2008 won't launch because of that. So, is there a workaround for this ?

  • 12-03-2007, 10:49 AM In reply to

    • perb
    • Not Ranked
    • Joined on 12-03-2007, 9:34 AM
    • Posts 6
    • perb

    Re: Workaround for the abstract base classes ?

    I've tried to obvious solution to create my own non-abstract base class and it didn't work for WizardForm so I did'nt try WizardPage.

    But, it actually works fine for WizardPage so that solves my problem because it's the wizard steps you really need a designer for to be productive.

    So this is the code I am talking about:

    class WizardPageBase : WizardPage
    {
    }

    class MyWizardStep : WizardPageBase
    {
    }

     

     

     

Page 1 of 1 (2 items)
Page view counter