|
Rob, the reason I have shown you that you need corrections is because the underlying logic in your code is flawed. No amount of fiddling is going to get around the fact that you have paths through your code that return you unexpected values. If you try and simplify your code the way I have shown you, you should find it easier.
|
|
|
|
|
I'm learning this stuff at my pace… Not your pace.
Feel free not to comment on any more of my posts…
|
|
|
|
|
Rob, as I've tried to offer you advice which is intended to help you, I find that attitude highly offensive. Your code has logic problems in it, and there are easy fixes, which I attempted to point out. If you are this hostile to people who try to help you improve, then I would suggest that you need to take a long hard look at whether or not you really want to get better at this.
|
|
|
|
|
Hello All,
My windows form application which allows users to import, edit, and save images works for the most part. However, it lacks many features that I would like to have but I have no idea on how to go about creating them. On top of the list of features I'd like to have is the ability to create images on separate layers. Right now I can put paint on top of an image or lay one image on top of another image but once I do that I can not separate them since they are on the same layer. Any suggestion will be greatly appreciated thanks in advance.
|
|
|
|
|
You would need to store each layer as a separate entity. When your persisted "image file" is read by your app, it should render the layers in order. In practice, every layer object will have its own properties (e.g. opacity, visibility, etc.)
/ravi
|
|
|
|
|
You should move to WPF. WPF already implements all this for you.
|
|
|
|
|
How can C # Assistance WindowsFormsApplication1 save a text document in pdf-for example, in
The second question
Notify me when someone who has a calendar to "pay something" for example ...
I can not understand how the code should be written
|
|
|
|
|
ghost22th wrote: save a text document in pdf-for example Try iTextSharp[^].
ghost22th wrote: Notify me when someone who has a calendar to "pay something" for example Check the date and compare it with the due date in your calendar/database.
Use the best guess
|
|
|
|
|
Dear
am using gmail smtp means mail send ..working good but i have change smtp name username password nic.in means did not send mail
|
|
|
|
|
|
|
You've replied to the wrong person. You should have posted this for the OP. He doesn't get notified if you reply to anything other than his post.
|
|
|
|
|
|
|
|
|
Good for you!
Now, if you have a question, perhaps you might want to tell us what it is?
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
JAYRAJ GIRI wrote: I have Use Entity Frame work in my web application
Splendid. I had porridge for breakfast. It was lovely.
|
|
|
|
|
Pete O'Hanlon wrote: I had porridge for breakfast. It was lovely.
Oooh, as did I. I mixed in a bit of maple syrup and with a bit of brown sugar and sprinkled some slivered almonds on top. Fantastic stuff!
|
|
|
|
|
Maple syrup and brown suger. Mmmmmm. Lovely.
Of course, as I'm trying to lose wait, I merely added raisins.
|
|
|
|
|
Pete O'Hanlon wrote: I'm trying to lose wait
That sounds impatient. Or did you mean "weight"?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
A bit of both. I'm impatient about losing weight.
|
|
|
|
|
Yeah, so am I, but, you have to "cheat" every now and then!
|
|
|
|
|
but, but, but..., the labels on the brown sugar and maple syrup each said that they had 0 g Fat per serving, so they can't make you gain weight, right?
It least that is what all those zero fat diet food ads imply.
|
|
|
|
|
I prefer oatmeal or oatbran with some candied pecans and fresh blueberries. I have eaten that every morning for the last several months.
|
|
|
|