Any insight for a small civil engineering program.
It will have 4 forms(excluding open/close dialog boxes) and will run in C#:
Main - menubar, tabstrip, Datagrid and a couple buttons
Chart Form - Graphics form to display a generated flow chart
Project form - basically a glorified dialog box for project info
Report Form - basically just a .doc file holder
If I go the WPF route I would like to produce my own style (kinda like Vista but not so heavy).
I don't have much experience with WPF besides tutorials and articles and I just want some personal experiences to help me make an informed decision.
This is a fairly straightforward application, and shouldn't present you with too much trouble. If you adopt MVVM as your main design pattern, you'll find that it's easy to debug and test because you'll test your business logic in isolation from the way that it's presented.
You'll find it easier to code up a flow chart in WPF than you would in WinForms - so much of the graphics subsystem has been designed to make it easier to use (once you have experience). I would state though, that if you have experience in WinForms and none in WPF then you've got a steep learning curve ahead of you, and I'd get my feet wet on a couple of small applications first before tackling this one, so you might be better off using WinForms if that's what you're used to. If you don't have extensive experience in WinForms, I'd definitely recommend taking the plunge into WPF. Actually, I'd recommend it anyway, but I am a WPF nut.
"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.
Thank for the responses. Ive been messing around with WPF and I feel its the way I'm going to go. I just don't like stepping into aging standards. WPF is is! I'm sure I'll be back with plenty of questions. Thanks.
But I want to generate this style dynamically and save it in a string and extract the style object from that string and apply it to the Button control.
In other words I want to take style from a string not from App.xaml.
Is it possible in Silverlight 2.0?
The problem is when there is no data bound to the listview the horizontal scrollbar disappears, and the Headers get cut off. I want the horizontal scrollbar to be still visible.
(My requirement may sound weird, but i want this functionality for a listview which displays streaming numerical data and has filters on column headers. Sometimes the filter condition does not satisfy any of the rows so the listview becomes empty and horizontal scrollbar disappears. Now some of the columns will get cut off and the user cannot scroll to that column and clear the filter.)
Thanks for your reply.
I looked at the Link. However the solution of having two scrollbars for header and content is an overkill and quite complex [at least for a beginner like me ].
I have handled the problem by allowing the user to reset all the filters using a workaround, to get back the data and with it the scrollbars.