|
I usually use this, but since it was just write once, run once test code I frankly didn't care at the moment of writing.
|
|
|
|
|
Bet you care now
This space for rent
|
|
|
|
|
Guess so. Usually, at work, R# handles stuff like that for me. Unfortunately said code was written at home, with VS Community 15, and no R#. Software makes us dumb.
|
|
|
|
|
1, 2, 3, oops.
I must say though, it occurs to me that sometimes the MVVM pattern is a bit, well, over the top. When something like (pseudo-codish):
Items items = new Items[] {new Item("foo", control), ...etc...};
MainGrid.Children.Add(items);
where you override Item.ToString() with Item.Name ?
BTW, I loathe this. syntax. It's so Visual Basic, I, Me, Me, Mine
Marc
|
|
|
|
|
Quote: syntax. It's so Visual Basic, I, Me, Me, Mine Wink |
Visual...wait burn it with fire!
|
|
|
|
|
Marc Clifton wrote: BTW, I loathe this. syntax. It's so Visual Basic, I, Me, Me, Mine
I wrote the code on my home PC (which VS Community 2015). The IntelliSense only seems to work if I put this , and I did not really care since it is test code only. (Not test as in Unit-Test, but as in "Test I only want to do to see if it works).
|
|
|
|
|
WizardViewModel model = new WizardViewModel(
WizardTitle: "Test",
WizardDescription: "Ein schlecht gestylter Beispiel-Wizard.",
new WizardStepViewModel("Willkommen", new Testdata.WelcomeScreen()),
new WizardStepViewModel("Wizard-Zeug", new Testdata.TestUserControl2()),
new WizardStepViewModel("Zusammenfassung", new Testdata.EndUserControl())); Assuming:
public class WizardViewModel(string title, string description, params WizardStepViewModel[] stepviews) { ... } I note that you, as author, made the same choice that L. Frank Baum made in "Wizard of Oz:" the WizardControl makes a dramatic appearance from nowhere at the end of the novel.
And, nice touch with the suggestion of recursion: WizardControl.View.WizardControl : I assume that's the way things go down in MVVM-land.
But, don't let this (deliberately ... perceived by you as playful, I hope) capricious intrusion distract you from the enjoying the current flavour of your omnipotence ... after all, isn't it that taste that makes the drudgery ... of having to behave like robots to get other robots to (kind of) half-do our bidding at the expense of art and grace, and with the cost of our wallowing in endless minutiae ... worthwhile ?
«The truth is a snare: you cannot have it, without being caught. You cannot have the truth in such a way that you catch it, but only in such a way that it catches you.» Soren Kierkegaard
|
|
|
|
|
|
Odor-killing undies are a thing now | Fox News[^]
Shreddies[^]
I had to laugh when I saw this: many, many, many years ago I came up with the idea of "Skiddies" - underwear inserts to stop bottom burps from whiffing up the place and, well, you know, stop those awful skid marks that other people get. The advert would have been to the tune of "Skippy, Skippy, Skippy the bush kangaroo".
It was never meant to be very serious but it looks like someone has stolen my amazing idea! Time to call my lawyer...
|
|
|
|
|
|
The guy sent me a block diagram.
He did it in Altium.
He output it to PDF.
(Totally me guessing, but I do see Altium's logo on the document)
I wish I could import that from that PDF file (single page PDF file) into my LibreOffice Impress presentation which I am doing.
I tried the "Insert" menu with "Object" and climbing down the tree to PDF files, but doing so resulted in a non responsive LibreOffice Impress. [[Edit/Update: so stuck that I had to use the task manager to end the app.]]
For now, it looks like I'm going to have to do screen caps.
Better ideas are welcome.
|
|
|
|
|
Try opening the PDF via LibreDraw -> Copy -> Paste -> ??? -> Profit
veni bibi saltavi
|
|
|
|
|
Nice Brain ! Thank you !
I didn't know it could do that.
Not only that, but, ALT-File-Export---> and Ta-Da ! ---> I have an SVG file
That's even better than my original scheme.
Voting for you.
|
|
|
|
|
I hear a lot about how great ReSharper is and would love to try it out some time. I love Visual Studio, but I develop Ionic (hybrid apps). Visual Studio has great Cordova support, and ReSharper seems to have TypeScript / JavaScript support, but would it be worth it if I do mainly this. Will I miss out on most of it's features?
i cri evry tiem
|
|
|
|
|
You could contact ReSharper and get a definitive answer. You could try their message boards, too.
I love ReSharper, but don't know about its use with hybrid apps.
|
|
|
|
|
Never hurts to look around and see what other folks are doing, what problems they are having recently with the tools/context you are considering: [^], [^].
I can't imagine not having ReSharper working for me (note that I'm not doing cross-platform yogic contortions); I consider it the single best tool for programming I have ever seen ... and I go way ... way ... back to when you, James, were not even a concept, let alone a conception
cheers, Bill
«The truth is a snare: you cannot have it, without being caught. You cannot have the truth in such a way that you catch it, but only in such a way that it catches you.» Soren Kierkegaard
|
|
|
|
|
and I go way ... way ... back
so do I Bill
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
I mentioned a while back that I would be doing a app development competition against a bunch of other high school students. Well today was the day I presented my app at the state conference. After networking with all my competitiors and seeing their apps. My team and I were confident that we could make it to the nationals from state and were really excited. We have a really nice Ionic app, that seemed to look better than many others. (I fell special being the only hybrid developer ) On the website, we were told we would have ethernet and HDMI access, but when we got to the room, all we were provided with was some ancient projector and tried to use an HDMI to VGA converter, that did not want to work with my friends MacBook Pro. After struggling for a few minutes, we explained to the judges what was going on and they agreed to allow us to present it on his Mac (oh boy). Our presentation turned out well (at least for not having our notes), and my team still feels like we have a chance, but I fell like we just went from top three material at state to maybe fifth place.
Anyway, I am now anxiously awaiting tomorrow to see what goes on. Hopefully, we don;t get knocked for this stupid issue, but we'll see.
i cri evry tiem
|
|
|
|
|
Loosing in this and that case of the life is called also "getting experience". This from an old man, learned to accpting to "learn" These expeiriences...
modified 19-Jan-21 21:04pm.
|
|
|
|
|
You have learnt an important lesson, Grasshopper. Never trust a third party's resources list. Better to take your own and find they are not needed than to not and find they are!
I am not a number. I am a ... no, wait!
|
|
|
|
|
Best wished, James !
«The truth is a snare: you cannot have it, without being caught. You cannot have the truth in such a way that you catch it, but only in such a way that it catches you.» Soren Kierkegaard
|
|
|
|
|
Win, Lose, Or Draw, think about this....
How many high school students today, when they are thirty something, will ever have the foresight to think something like this through, ahead of time, when they are presenting something to, say, a thirty billion dollar company's executive board for their first shot at selling them their stuff ?
Answer: One. You.
|
|
|
|
|
Today is the day. Best of luck in this.
And, yes, of no cable avail to show, while it is important to that of the "adaptation" within the current environment, do also learn of how to come as fully prepared as possible.
However, of the "presentation" anomaly being a "factor", that's not what interests judges, being one myself in such this type of competition.
"Does it run/work on the intended system?" is the first thing to answer. It seems you proved that, and then proved all the other factors (running & completing the demo).
That is "success".
Certainly, winning is the next "level" of that success.
Let us know the outcome!
The best way to improve Windows is run it on a Mac.
The best way to bring a Mac to its knees is to run Windows on it.
~ my brother Jeff
|
|
|
|
|
I have a Surface Pro. An original. It's been sitting around as a tester machine for a while but I recently upgraded it to Windows 10 and have been finding it more and more useful. OK, from "Not really useful" to "Dammit I forgot my laptop - I'll plug in a keyboard and display to the Surface and use it today" sort of useful.
And it's working well. It's old, it only has 4 GB, but it's handling everything I'm throwing at it so far. I was thinking maybe I could use this when travelling. No more bringing the laptop out of the back at airports, no more heavy macbook in the backpack. Let's see how it likes VS 2015 and SQL Server.
And then I saw the battery life: 91% and 2hr 13 min remaining.
I though it was a mistake until I thought back to when this thing was released and the typical battery life we used to consider "adequate". Sure, even when the Surface was released people complained about the battery life but I was amused to find myself automatically reacting to a battery life of less than 10hrs as "useless to me".
I can't help but wonder if the latest advances in batteries[^] will make us look back and think "Wow - only a day of battery life. Anything less than a month or so of charge is uesless to me".
cheers
Chris Maunder
|
|
|
|
|
The contractors who work with me have surface pros and they have nothing but praise for them - if you can afford one, they are definitely the machine to go for when travelling a lot.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|