Docsity

Prototype for Building WinForm Applications in C++/CLI - Prof. James Fawcett, Study Guides, Projects, Research of Engineering

Toggle sidebar
bg1
Handouts/CSE687/Code/Proj4Proto
Project 4 Prototype
Purpose:
Illustrates building WinForm applications in C++\CLI.
Specifically we demonstrate:
1. Communication between a child and parent form
2. Integration of Sockets code with Forms code
a. All the serious processing is done by dependent
modules
3. You will find a lot of error handling and tracing.
4. Tracing is visible if you convert the project to console, as
shown in the attached screenshots. It is easy to convert
back and forth. The only thing that happens is that a
console window is either displayed or not.
5. See the note about Visual Studio bugs handling child
forms, on the next page.
Jim Fawcett
CSE687 โ€“ Object Oriented Design
Spring 2006
pf2

Partial preview of the text

Download Prototype for Building WinForm Applications in C++/CLI - Prof. James Fawcett and more Study Guides, Projects, Research Engineering in PDF only on Docsity!

Handouts/CSE687/Code/Proj4Proto

Project 4 Prototype

Purpose:

Illustrates building WinForm applications in C++\CLI. Specifically we demonstrate:

  1. Communication between a child and parent form
  2. Integration of Sockets code with Forms code a. All the serious processing is done by dependent modules
  3. You will find a lot of error handling and tracing.
  4. Tracing is visible if you convert the project to console, as shown in the attached screenshots. It is easy to convert back and forth. The only thing that happens is that a console window is either displayed or not.
  5. See the note about Visual Studio bugs handling child forms, on the next page.

Jim Fawcett

CSE687 โ€“ Object Oriented Design

Spring 2006

Handouts/CSE687/Code/Proj4Proto

When adding a child form to a C++ Winform project, be

sure to create a new directory under the main project, so

the new form has its own folder.

When the form is added, its .resx file is added into the

same folder as the main form and that causes a lot of

errors. You have to manually move the new .resx file into

the new form folder.

Then the errors go away.