in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

Converting a winform to xtraform - different base classes problem.

Last post 8/10/2008 5:57 AM by Glen Harvy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 8/10/2008 12:29 AM

    Converting a winform to xtraform - different base classes problem.

    Hi,

    I'm trying to convert an old project to DevExpress  and have changed the Form1 from "Form" to "XtraForm" however when I build the project the refernce for the designer code returns "Partial declarations of 'project.Form1' must not specify different base classes".

    I've never come accross this beforfe - Any ideas?

     

    Glen Harvy.
  • 8/10/2008 5:23 AM In reply to

    Re: Converting a winform to xtraform - different base classes problem.

    Glen:
     
    It sound like you have changed the main source code file, but not the designer file.
     
    For instance, Form1 module can have Form1.cs, Form1.Designer.cs and maybe Form1.resx files. You need to change the Form1.cs *and* the Form1.Designer.cs file.
     
    HTH,
    Martin.
    "Glen Harvy" escribió en el mensaje de noticias news:230599@community.devexpress.com...

    Hi,

    I'm trying to convert an old project to DevExpress  and have changed the Form1 from "Form" to "XtraForm" however when I build the project the refernce for the designer code returns "Partial declarations of 'project.Form1' must not specify different base classes".

    I've never come accross this beforfe - Any ideas?

     


    Glen Harvy.

    http://community.devexpress.com//forums/p/67800/230599.aspx#230599

  • 8/10/2008 5:57 AM In reply to

    Re: Converting a winform to xtraform - different base classes problem.

     Thanks Martin ...

    I found an even older .cs partial file that unfortunately had the ': Form ' in the constructor. VS2008 just didn't show it as being the culprit. Took me ages to find it.

     

    Glen Harvy.
Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED