Hi,
I have been exploring producing a C# Windows applications using EA, unfortunately the documentation seems a bit light in this area and hence I'd like to check with others who may have succeeded (or not)!
I have used the Model wizard to create a c# windows app. It produces a package with form classes, with source code, project files, etc (all just copied a zip file), plus scripts. So I can use the scripts to build and run the solution - OK. However, I am curious and want to check that I am not missing anything that can help beyond a trivial example.
So if, for example, I want to add more code to produce a real application, e.g. another dialog:-
1. Adding another form / class.I create a diagram using Win32UI MDG for a dialog but it looks like I can only export a .rc file (c++) so no good (directly) for a c# project. Therefore, I assume I need to create the 2 classes (assuming I want to view the form - which looks like I can only do in VS or similar) for my form and then type the code for the "form" and its "designer". This means that it's only relationship to the EA screen design object will be a link (realisation) between these classes and the dialog.
2. Editing project/solution/resourcesWhen adding classes there doesn't seem to be a mechanism to view/edit the project (and other) files to add a new class. Hence I assume I need to edit these files (.csproj, .sln, .settings, assembly files) outside of EA.
The same issue exists when working on a class library (e.g. an EA Addin). I can produce and edit all the classes fine within EA however there doesn't appear to be a mechanism to create the project/settings/resource files?
So just to check.
- Are my observations correct
- Is the pattern just a "noddy" example, using predefined code without the potential for extension
- EA doesn't provide support for coding a real c# windows application
Perhaps somebody who has done real code development of windows apps within EA may have some experience/comments on EA's capabilities that I have missed. Are there other development tools/addins besides VS / Sharpdevelop that are useful for code development with EA?
Many thanks
Adrian