gui using .net

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I want to create a GUI using VS .NET. For now I just want to input some
parameters used by the algorithms I've written in C++. Maybe later I want to
access a database to load the data from and plot figures if it isn't too
hard to do.

I haven't done any GUI's before so what should I use? Do you think I should
use the MFC library, or go with building a GUI using .NET, or something
else? If I use .NET then I need to write it using a managed language, but
keep the algorithms in unmanagedc++. Will there be a performance hit? The
algorithms need to be fast. I also don't want to spend too much time on
these GUIs too. What are some good begineer books on learning Windows
programming, building GUIS, or on .NET? Thanks.
 
Hi Bill!

I want to create a GUI using VS .NET. For now I just want to input some
parameters used by the algorithms I've written in C++. Maybe later I want
to access a database to load the data from and plot figures if it isn't too
hard to do.

I haven't done any GUI's before so what should I use?

Use System.Windows.Forms
If I use .NET then I need to write it using a managed language, but keep
the algorithms in unmanagedc++. Will there be a performance hit? The
algorithms need to be fast.

Test it in a managed language like C#. If C# doesn't fit your needs then you
can change your unmanaged C++-Code to managed C++-Code and use it in .NET.
I also don't want to spend too much time on these GUIs too. What are some
good begineer books on learning Windows programming, building GUIS, or on
.NET?

Watch out for these books:

Essential .NET, Volume I: The Common Language Runtime
Von Don Box, Chris Sells.
http://www.awprofessional.com/title/0201734117

Windows Forms Programming in C#
von Chris Sells
http://www.awprofessional.com/title/0321125193

Cheers

Arne Janning
 
Bill said:
I want to create a GUI using VS .NET. For now I just want to input some
parameters used by the algorithms I've written in C++. Maybe later I want to
access a database to load the data from and plot figures if it isn't too
hard to do.

I haven't done any GUI's before so what should I use? Do you think I should
use the MFC library, or go with building a GUI using .NET, or something
else? If I use .NET then I need to write it using a managed language, but
keep the algorithms in unmanagedc++. Will there be a performance hit? The
algorithms need to be fast. I also don't want to spend too much time on
these GUIs too. What are some good begineer books on learning Windows
programming, building GUIS, or on .NET? Thanks.

If you don't have any particular motivation to learn about managed code
(this seems to be the case) then the quickest and easiest way is
probably to build an MFC dialog-based application. You can do this by
clicking.

Then all you have to learn is how to drop a few controls onto your
dialog and add message handler functions to the dialog class that the
IDE makes for you. The MFC book by Prosise is very good, and so is the
one by Wingo & Kruglinski.
 
Back
Top