Browse by Tags
All Tags »
demos »
Tips and Tricks (
RSS)
Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/converting-fixeddocument-xpsdocument-too-to-flowdocument/ ] First of all, what’s the differences between FixedDocument and FlowDocument and why we can convert FlowDocument into FixedDocument easily but not vice verse? Let’s try to understand What is FixedDocument? FixedDocument is a host for portable, high fidelity, fixed-format document with read access for user text selection...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/networking-raw-sockets-in-silverlight-and-wpf-messaging-in-general/ ] You, probably, know how to use raw sockets in WinForms. It's pretty the same in WPF, however it is very different (and limited) in Silverlight. Today, we'll create sample application in Silverlight, WPF and WinForm that sending and receiving updates via TCP as well as broadcasting it via UDP (singlecast and...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/building-custom-user-control-in-silverlight-20-how-to-build-code-snippet-for-vs-as-bonus/ ] Do you remember, that we have "go-live" for Silverlight 2.0 and already have build machines configured ? Now it's time to build your very own custom control. Today, we'll build Range Slider. What is range slider? Range slider is a control, that lets you input two values, typically...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/rtfm-not-only-software-needs-manual-kids-need-it-too-how-to-care-your-child-visual-instructions/ ] For all my friends, become fathers and mothers within last couple of months. Please, read it before using your kids! All images are from Safe Baby Handling Tips (more fun stuff inside) by Running Press Books . Author's website There are more images here, we just waiting for author's...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/2d-controls-in-3d-world-how-to-create-a-wheel-of-fortune-with-wpf/ ] Before reading this post you should know what is geometry and trigonometry. As well as you should know, that in WPF you can "brush" 3D meshes with images or, even other XAML vector controls, inherit and create custom controls, use animations, dependency and attached properties and handle special events. Here...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/single-instance-application-screen-saver-and-power-management-disabling-and-battery-meter/ ] The first client's request was to make my WPF application single-instance based. Really simple, remember from WinForms? Named pipes to itself, mutexes, VB approach. First method is rather complicated, and I do not want to put all this code into my app.xaml.cs file. The second one is rather...