M
Moiv
What is the most common approach(es) to separating the user interface
programming from the program itself?
Basically I want to write a simple MP3 player like winamp, initially I will
be using a winform to control the program and later down the track I might
change it to a WPF user interface.
I'm thinking perhaps the program itself could be built into a DLL and the
user interface uses that DLL and creates an instance of the "program"
object?
The interface can then control the program object via its methods etc.
Then events in the program to trigger actions which the user interface
reacts to?
I'm coming from a PHP and BASIC background, so everything in C#.net seems to
be the reverse of what I'm used to.
Thanks for any advice
programming from the program itself?
Basically I want to write a simple MP3 player like winamp, initially I will
be using a winform to control the program and later down the track I might
change it to a WPF user interface.
I'm thinking perhaps the program itself could be built into a DLL and the
user interface uses that DLL and creates an instance of the "program"
object?
The interface can then control the program object via its methods etc.
Then events in the program to trigger actions which the user interface
reacts to?
I'm coming from a PHP and BASIC background, so everything in C#.net seems to
be the reverse of what I'm used to.
Thanks for any advice