WPF Pain In The Anal Pore
-
Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
Christian Graus wrote:
Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.
Google took over the world with a near blank page, a single edit box and a completely non-animated results page :cool:
Todd Smith
-
Christian Graus wrote:
Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.
Google took over the world with a near blank page, a single edit box and a completely non-animated results page :cool:
Todd Smith
Our app was more visual than a search engine :)
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
Christian Graus wrote:
it's not easy to find out the position of an element on the screen ?
WPF represents a new approach to programming. You can do this and that but if you want something different then it pops up and asks "Why the hell would you want to do that? There is a much better way to solve your problem but ha ha I'm not going to tell you (keep trying, looser).". My symphaties.
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
gajatko wrote:
keep trying, looser)
I'm looser than you ?
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
Christian Graus wrote:
Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.
Google took over the world with a near blank page, a single edit box and a completely non-animated results page :cool:
Todd Smith
I'm sure, if google was making its blank page today, it would've been a blank WPF page :)
To hell with circumstances; I create opportunities.
-
In WinForms, you could place a label, turn off auto size, and then have your way with the properties to modify the alignment. In WPF, you have to enclose a TextBlock with not one, but TWO border elements in order to set a border and color the background properly. Every day I use this crap pile, I find something else that is so insanely difficult to figure out and do that I wonder how anyone can work with it and honestly say they like it.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Am I missing something? Why not just put a label control on the form? Use a canvas if you want absolute positioning. I'm really enjoying working with WPF. It's as slow as hell even on good hardware but it's a real improvement for UI coding.
--Matt
-
Yeah, I worked that out the other day, that is indeed a PITA. how about the fact that in WPF it's not easy to find out the position of an element on the screen ? I have two different panes I switch between and I wanted to manually position a video over one, then move it to be over the other as I swap. That proved to be too fraught with danger, which means my app is not as smooth as I'd like it to be.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
Back when I started dickin' around with WPF, I was complaining about the annoying aspects of the WPF controls to someone here at work, specifically, the
Label
control regarding its lack of aText
property. They promptly informed me that if I want a Label control, I should use aTextBlock
. However (and as I described above), theTextBlock
control doesn't have the same abilities as the WinFormsLabel
control. So, I switched to the Label control and it supports horizontal AND vertical alignment, as well as borders. WTF is Microsoft doing?"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Wow - so you can post to this thread? All my attempts to reply to John failed in a weird way. The post fails, but the reply shows up in the Lounge for a few seconds, and on refreshing, the reply vanishes. I've reported a bug in the Suggestions forum. :~
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com linkThe forums are written in WPF. What you're seeing is a known issue that Microsoft will fix when they switch to whatever succeeds WPF as their preferred erection-building technology.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Our app was more visual than a search engine :)
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
Ours isn't... I told them WPF would be a waste of time, but they're not having it.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Am I missing something? Why not just put a label control on the form? Use a canvas if you want absolute positioning. I'm really enjoying working with WPF. It's as slow as hell even on good hardware but it's a real improvement for UI coding.
--Matt
nistrum404 wrote:
it's a real improvement for UI coding
Not when it takes you twice as long to do something that was brain-dead simple in WinForms. IMHO, WPF is a huge step backwards in productivity, and while I have no evidence of this yet, it's probably going to be a freakin' slug on our customers' machines. How is THAT better?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
nistrum404 wrote:
it's a real improvement for UI coding
Not when it takes you twice as long to do something that was brain-dead simple in WinForms. IMHO, WPF is a huge step backwards in productivity, and while I have no evidence of this yet, it's probably going to be a freakin' slug on our customers' machines. How is THAT better?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001I'm finding it just as easy/productive as Winforms and much better when it comes to doing eye candy. Might be because I've got a history with web development and Flash. I think the big problem is it's all pretty vast and new. I'd imagine there's a steeper learning curve transitioning from forms development. Performance really is an issue though, especially when compared to the blazing animation speeds of Flash. I've got a layout routine that manipulates about 40 controls, animates about 20 of them, repositions some, deletes a few and adds a few more and it's taking a good tenth of a second to work. Anybody know if there's a way to suppress layout updates for a section of code? Every dependency property I change seems to cause a superfluous layout update immediately which is where I think my precious milliseconds are going.
--Matt
-
gajatko wrote:
keep trying, looser)
I'm looser than you ?
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
It isn't my opinion. You missed quotation marks I guess. I apologise if you took that personally.
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
-
It isn't my opinion. You missed quotation marks I guess. I apologise if you took that personally.
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
-
And you missed a typo even after having it rubbed in your face. :doh:
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
Ah I see now. An extra 'o' in the 'looser' word. Well, I checked it in an on-line dictionary which I use all the time and it has both 'loser' and 'looser' (ling.pl). However there are several dictionaries and there is no 'looser' in the official one -- it exists in the Open Eng-Pl Dictionary only.
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.