Book a Demo

Author Topic: Importing winform from VS2005 imports only main  (Read 3446 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Importing winform from VS2005 imports only main
« on: January 15, 2007, 12:20:11 am »
I have a winform project in VS 2005.
When I tryed to merged it with EA model it imported the main winform class, but noot the controls attached to it, so I can't used them in the design.

Any ideas how to import the hole model?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Importing winform from VS2005 imports only mai
« Reply #1 on: January 15, 2007, 08:28:32 am »
Do you mean that you are not seeing the definitions of the Windows Forms controls (or their .Net parents) themselves?

If you want classes in the .Net libraries to show up in your model, you'll need to import the libraries (or appropriate portions) themselves. EA can do this for you. Take a look at the Import Binary Module feature in the documentation. There's a fair amount of information in the forum, so search through after you browse the docs.
No, you can't have it!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Importing winform from VS2005 imports only mai
« Reply #2 on: January 15, 2007, 08:37:20 am »
In VS CD I get one class for the form (same as in EA) but with all added controls as attributes.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Importing winform from VS2005 imports only mai
« Reply #3 on: January 15, 2007, 08:40:51 am »
As in attribute foo has type CheckBox? If that's so, and you want CheckBox to be available as a type in your model, so you can assign it to an attribute or parameter or whatever, you need to do the binary import, QED.
No, you can't have it!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Importing winform from VS2005 imports only mai
« Reply #4 on: January 15, 2007, 09:23:42 am »
Grate help!
Recursion definition:
If you don’t understand the definition read "Recursion definition".