|
The issue is with TreeView not accepting a delegate and therefore having to go out of the way to make a class simply so it can hold a method.
And it's a framework issue; not a language issue.
There may be newer ways to do that, but it shouldn't need to be done.
My way at least works on more versions of the language.
|
|
|
|
|
|
Hear, hear, my experiences with WPF are not good either, maybe I'm growing too old for this line of work ...
|
|
|
|
|
RickZeeland wrote: maybe I'm growing too old for this line of work ...
I was too old for this line of work 10 years ago lol
On the other hand, you have different fingers. - Steven Wright
|
|
|
|
|
WinForms does what I need when I need a GUI front-end for something, but I prefer console apps.
|
|
|
|
|
PIEBALDconsult wrote: I wrote a Singleton this afternoon (Type 4 on Jon Skeet's bestiary of Singletons). I just finished reading the article and I have to admit that even after programming C# for over 4 years I didn't event know about static constructors until you posted this . I've been using versions one and two up until now for my singletons. You learn something new every day. Thanks
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
It won't be long until it will be the 50th anniversary of landing on the Moon. The last landing was in 1972 and then we just seemed to give up.
Recently everyone seems keen on going to Mars, which is a nice goal... eventually.
Where is the my retirement home on the Moon? Low gravity would be great. No bugs, snakes or home-security salesmen. An afternoon's flying with artificial wings in the Big Dome to pass the time and then home to my relaxing chair in front of the holographic TV showing re-runs of cool, old Sci-Fi movies!
I think we should get the moon-base(s) up and running before going to Mars. Buzz Aldrin agrees with me. What do you think?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I think the technical challenges to putting people onto Mars and getting them home again are so great that we MUST colonize the Moon first to find out how to do it.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
You are assuming that they would bring them home again, it could be a one way trip[^].
Just because the code works, it doesn't mean that it is good code.
|
|
|
|
|
That was my first thought.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: That was my first thought.
Can I volunteer a few candidates?
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Michael Martin wrote: Can I volunteer a few candidates?
You can volunteer
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Brent Jenkins wrote: You can volunteer
No, I was thinking of all the Poms, that way they can get as far away from the EU as possible.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Why not just send the EU there.. kind of like in Iron Sky
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
|
Oooh yes, Let's turn it into a penal colony like Australia!
(Shipping criminals to the Moon would be even less cost effective than shipping them to Australia. OTOH, given that at the time, the alternative was hanging, I'm not sure the criminals would have agreed with me...)
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
We have just been invited to a (free) lunch with a presentation about a "Deluxe, luxurious, elegant, inspiring, blah, blah" retirement complex to be constructed on the moon. 25% discount for early adopters.
Give my your phone number and I will have them give you a call. You can't miss.
Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree".
Anonymous
|
|
|
|
|
|
After some recent reading, I am gravitating to Titan being a far better colonization bid. They are about equally as hostile but at least Titan has rivers of hydrocarbons on its surface. That means even if catastrophe strikes, you could still be able to light a fire to keep warm with methane from a nearby stream.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
Methane? I'll bring my own anyway.
|
|
|
|
|
Let's do both! And get the asteroid mines up and running for the resources we need to build the solar energy transfer stations, orbital biodomes, and space-based manufacturing stations.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
One big problem with a moon base, we are too late. If we were going to do it we should have done it before 1999.
|
|
|
|
|
Forogar wrote: I think we should get the moon-base(s) up and running before going to Mars. Buzz Aldrin agrees with me. What do you think? I think I have a plot of land on the moon that you may be interested in
Lunar Embassy[^]
Seriously again; Mars sounds nice but is technically not very efficient. We'd also be unprepared for having two different roads for our genes - as one set would evolve on earth and reward things that are beneficial on earth, the other would start to adapt to Mars.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: We'd also be unprepared for having two different roads for our genes - as one set would evolve on earth and reward things that are beneficial on earth, the other would start to adapt to Mars. I thought it was already like that... men are from Mars and women from Venus
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Neither. Figure out how to live on this planet first without destroying it.
The reason for that is actually a simple one -- any Mars or Moon base would be 100% reliant on shipments from earth -- the ability to have a self-sustaining colony in a hard radiation vacuum or near vacuum environment simply doesn't exist yet -- and the idea of creating such a colony, relying on a planet that is potentially heading towards suicide, well, that's just stupid.
Solving those self-sustaining issues here, on this planet, first, seems a lot more logical, especially since we still have a cushy environment that doesn't have the problems that Mars/Moon has.
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|