Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
Questiondeployment of window application Pin
Milind Panchal9-Aug-09 22:32
Milind Panchal9-Aug-09 22:32 
AnswerRe: deployment of window application Pin
Vimalsoft(Pty) Ltd9-Aug-09 22:40
professionalVimalsoft(Pty) Ltd9-Aug-09 22:40 
GeneralRe: deployment of window application Pin
Milind Panchal9-Aug-09 22:48
Milind Panchal9-Aug-09 22:48 
GeneralRe: deployment of window application Pin
OriginalGriff9-Aug-09 23:24
mveOriginalGriff9-Aug-09 23:24 
GeneralRe: deployment of window application Pin
Vimalsoft(Pty) Ltd11-Aug-09 23:03
professionalVimalsoft(Pty) Ltd11-Aug-09 23:03 
QuestionC# Desktop Apps Pin
Marc Firth9-Aug-09 22:31
Marc Firth9-Aug-09 22:31 
AnswerRe: C# Desktop Apps Pin
Vimalsoft(Pty) Ltd9-Aug-09 22:42
professionalVimalsoft(Pty) Ltd9-Aug-09 22:42 
AnswerRe: C# Desktop Apps Pin
Pete O'Hanlon9-Aug-09 22:49
mvePete O'Hanlon9-Aug-09 22:49 
Marc Firth wrote:
Which technology do you think is best to use for creating my desktop apps and why? Windows Presentation Foundation? Windows Forms? Other?


That's a tricky question, and not one that's easy to answer. First of all, let's address a misconception - WinForms aren't going to go away anytime soon, so learning them isn't going to be wasted effort. You'll still be able to develop desktop applications in them for a long time to come.

Now, saying that, I'd choose WPF over WinForms for a number of reasons.

1. While WinForms isn't going away, it's not going to be actively improved by MS, so you're stuck with what you get.
2. WPF makes it easier to create data bound applications. Rather than having to write lots of string myValue = txtName.Text; and txtName.Text = dr[dr.GetOrdinal("MyValue")].ToString(); code, you can use two way databinding in WPF to good effect.
3. It's easy to change the look and feel of WPF applications.
4. If you want to move over to Silverlight, it's based on WPF so the transition is a lot easier.
5. Microsoft is actively targetting improving WPF, and is starting to use it in its own applications.
6. The infrastructure underlying WPF is a whole lot more powerful.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:34
Marc Firth10-Aug-09 1:34 
GeneralRe: C# Desktop Apps Pin
Pete O'Hanlon10-Aug-09 1:36
mvePete O'Hanlon10-Aug-09 1:36 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:47
Marc Firth10-Aug-09 1:47 
AnswerRe: C# Desktop Apps Pin
Nouman Bhatti9-Aug-09 23:16
Nouman Bhatti9-Aug-09 23:16 
AnswerRe: C# Desktop Apps Pin
harold aptroot10-Aug-09 1:20
harold aptroot10-Aug-09 1:20 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:24
Marc Firth10-Aug-09 1:24 
GeneralRe: C# Desktop Apps Pin
Pete O'Hanlon10-Aug-09 1:35
mvePete O'Hanlon10-Aug-09 1:35 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:39
Marc Firth10-Aug-09 1:39 
GeneralRe: C# Desktop Apps Pin
harold aptroot10-Aug-09 2:02
harold aptroot10-Aug-09 2:02 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 1:42
Marc Firth10-Aug-09 1:42 
GeneralRe: C# Desktop Apps Pin
Pete O'Hanlon10-Aug-09 1:57
mvePete O'Hanlon10-Aug-09 1:57 
GeneralRe: C# Desktop Apps Pin
Marc Firth10-Aug-09 2:08
Marc Firth10-Aug-09 2:08 
GeneralRe: C# Desktop Apps Pin
Marc Firth14-Aug-09 0:23
Marc Firth14-Aug-09 0:23 
QuestionExcel Cells are not readable if hidden Pin
Harry6669-Aug-09 22:22
Harry6669-Aug-09 22:22 
AnswerRe: Excel Cells are not readable if hidden Pin
Luc Pattyn9-Aug-09 22:49
sitebuilderLuc Pattyn9-Aug-09 22:49 
GeneralRe: Excel Cells are not readable if hidden Pin
Harry66610-Aug-09 4:48
Harry66610-Aug-09 4:48 
AnswerRe: Excel Cells are not readable if hidden Pin
Moreno Airoldi10-Aug-09 0:53
Moreno Airoldi10-Aug-09 0:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.