Recently, I am tied up writing a custom WPF control called FolderPicker, and I come to the scenario that when I update the data source, I want to let the UI thread to update the control UI, basically, at this time, I should force the dispatcher
When we want to declaratively use our custom controls or reference the types we defined in XAML, we should declare the XML namespace to map to the CLR namespace in which the controls and types are defined as the following XAML snippt
Just paste the following xaml into the XamlPad shipped with Microsoft Windows SDK or the XamlPad I create myself, you will get some unexpected surprise, really cool indeed:Code highlighting produced by Actipro CodeHighlighter
1. Declare array object in xaml:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.
Probably I've been in the WPF world for so long that I need to try something different, yesterday, I come across a Channel9 forum thread on how to use windows forms' Control.CreateParams property, which give me some light on how to customize the
之前運行eclipse執行android應用都沒問題,今天突然出問題了,控制台報錯: The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\android-2.2-windows\tools\adb.exe' and can be executed.
剛剛看了一些 Windows Vista 的宣傳資料,感覺就是一個字:炫。顯然 Vista 在使用者體驗上又大大進了一步,不知道能否趕得上當年 Windows 95 對 Windows 3.1 的跨越。只是不知道我的本本將來能不能平滑地跑上 Vista 呢。再看看一些新的技術,不禁大為感慨,心想現有的很多地方還沒碰過呢,又有這麼多新技術來了,做程式員,真是件既快樂又辛苦的事。好了,閑話少說,接下來說說我對 .net framework