Is anyone else tired of all the sites on the internet turning into mobile first sites? Sites that once had character are now changing or have changed into cookie cutter mobile friendly sites. This is all thanks to the way too powerful google who decides to punish sites that it feels aren’t mobile friendly.
What’s hilarious about their mobile site checker system is my one site had a mobile version that made it easier for phone users to navigate. Well I checked it with their mobile tester. It hated the mobile version and declared it not mobile friendly. Okay I think to myself. If they’re going to do that then screw it. I’ll just use the same backend for both.
I go back to the tool after replacing the mobile theme with the normal theme and the google tool declares it perfect.
But normally, what works for one doesn’t work for the other. That’s why Windows 8 was such a colossal failure. I don’t want a mobile first os on my desktop.
Actually I can’t fathom why anyone would want to browse the internet on a tiny phone screen unless they were forced to. I don’t even like using the 7 inch tablet I have unless I have to. I like my displays to be big. Hence the 27 inch monitor on my desk. If the desk could handle it, I’d like a 55 inch monitor. Okay maybe too big but the point is I like big screens.
So why does every site have to turn into a mobile version. I don’t want a site that scrolls forever. I want separate pages for different topics. The internet was far more “fun” when sites had their own character. And they didn’t all look like cookie cutter link mills with facebook comments.
RIP Comic Book Resources. Oh I’m sorry. Its http://cbr.com now.
A few years ago when I took Java, the class was using Eclipse for the IDE. I came to hate Eclipse with a passion because it kept having errors and would stop running. If I hadn’t saved, I’d have to start the class project over again and that is always annoying.
A few others in the class had the same issue but not everyone. So something about our computers was causing it to not work correctly. While others had no issues whatsoever. Despite knowing this, I still came to hate Eclipse and lamented the fact Visual Studio didn’t have support for Java because its the best IDE around.
I came across an Extension a few months ago though that plans to add Java support to Visual Studio. Its called IntegraStudio. Its presently in beta so you never know how things will turn out. But it looks promising. I wish it was a few years ago when I was taking Java though. Because I bet it will be far better than Eclipse.
I think the instructions for using Listeners or events in the .Net make it sound more complicated than it is. I was reading some text on them when I was working on the spellchecker inside Help Writer to refresh my mind since I don’t use them often. And they just made it more confusing than I remember in class.
I think its far simpler to think of it like this. Inside your control, you need to create an event and a delegate:
public delegate void ReplaceActionDone(string oldtext, string newtext);
public event ReplaceActionDone Replace;
Now the delegate should have the same parameters as the methods that your going to attach to the event in the code outside the control.
In the control’s code you’re going to need to invoke the event where it should perform the necessary code:
Now in the parent’s code, you need to set up the methods:
public void ReplaceEvent(string oldText, string newtext)
// code to be done
And then you need to add it to the control’s event so it fires:
scdialog.Replace += ReplaceEvent;
And that’s all there really is to getting an event listener in net.