The original #surfacelaptop - #windowsrt #windows10s - soon to be cleaned up (at Awesometown)

seen from Australia
seen from China
seen from United States
seen from United States
seen from China

seen from Australia
seen from United Kingdom
seen from Romania
seen from Australia

seen from China
seen from United States
seen from United States
seen from China

seen from Australia

seen from Malaysia

seen from United States

seen from Singapore
seen from United States

seen from China

seen from Australia
The original #surfacelaptop - #windowsrt #windows10s - soon to be cleaned up (at Awesometown)
Using #FreshPaint on a #WindowsRT. I'm slightly disappointed that it doesn't have a layer option, but it has the best oil and watercolor texture that i have ever seen and the layout is adorable. ★★★★☆ on this one. Loving it so far. #art #sketch #drawing #cgi #watercolor
💻💻💻#Work #WindowsRT #MacBookPro #Nexus7 #Apple #Windows #
Windows RT is Dead
Windows RT is Dead
There isn’t much to say about this. If you couldn’t see this coming, you’re probably the type of person that starts every episode of “Game of Thrones” episode expecting your favorite characters to get a cookie and a puppy by the end, then act surprised when the puppy has to watch it’s whole family get brutally slaughtered, while Joffrey eats the cookie dripping with their blood (spoiler…
View On WordPress
Add a Custom Event Handler to a User Control
Applies to Windows 8, Windows 8.1, Windows Phone 8.1 (XAML)
In your xaml.cs of your custom user control:
// Fire the event when a button clicks private void Button_Click(object sender, RoutedEventArgs e) { MyCustomEventArgs arrrg = new MyCustomEventArgs(); arrrg.SomeMessage = "Hello world!"; arrrg.SomeValue = 3.1415926; OnThingHappened(arrrrg); }
// The thing that fires the event protected virtual void OnThingHappened(MyCustomEventArgs e) { EventHandler<MyCustomEventArgs> handler = ThingHappened; if (handler != null) handler(this, e); }
// The event public event EventHandler<MyCustomEventArgs> ThingHappened;
Outside of the user control class (I usually put mine just below in the same file when I'm just hacking stuff together):
public class MyCustomEventArgs : EventArgs { public string SomeMessage { get; set; } public double SomeValue { get; set; } }
How to use:
XAML: <MyUserControl ThingHappened="Thing_EventHander" /> xaml.cs: private void Thing_EventHander(object sender, MyCustomEventArgs e) { Debug.WriteLine(e.SomeMessage); }