Gerry, I absolutely didn't mean to test your patience and I apologize if I have. I'm oblivious to asynchronous transactions which maybe partly explains the "phaseshift" between our messages. I'll look into that, thank you for the pointer.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
I have a DataGridView control on a form and I need to allow a user to multi-select rows (when they click on a row) without using the CTRL key (no keyboard is available - they are using a touch screen) and without using check box column. I have enabled the mutli-select property.
I would like to try out for a small side project where:
I load up 7 (and maybe 10) images one on top of the other. With a slider I would like to make the first image more and more transparent (showing the second image) and sliding more and more, each of the "layers" is shown. it has to be "fluent" though, so not a "show/noshow", but rather a percentage transparent.
If that should ever work, I would like to try to do the same, but with multiple "timelapse". In effect, playing 7 (or 10) "videos" at the same time and sliding down/up, but if the first thing would work, I'll already be quite happy.
Does anyone know a good tutorial or article for this? google was not really helpful (except that stacking pictureboxes in winforms isn't going to work), most entries are about png transparency. WPF is not a problem.
Is it not simply tying the transparency (alpha I think) Opacity, thank OG, to the position of the slider when the transparency reaches 100 set the z property of the image and then work with the next image in the stack.
Sounds simple but I'll bet there are a bunch of pitfalls in there.
Never underestimate the power of human stupidity
If you're going to use WPF (and you should), then for your project you need to get familiar with the "Storyboard" class: that's how you animate properties like the ones you will be interested in: Opacity, (Window / Control) Left, Right, Top...
I've animated transparent panels that darken when they slide in to cover a "virtual keyboard" on a kiosk when a cc is being read (or something).
Sounds like the same thing you want to do (except more panels).
(I've confirmed the MediaElement can play actual videos (e.g. mp4) "transparently"!)
Keep in mind that transparency requires more graphics power.
Why on earth would you convert a DateTime to a String, just so you can convert it back to a DateTime? If the values are not already in DateTime form, then convert them into it as soon as possible. You can then do a simple comparison to ensure the later is actually later than the earlier one. Mycroft has already given you the link to the documentation, please study it.