WPF Unleashed第三章有個例題,實現一個對話方塊,據說在XamlPad程式內直接測試就OK. 我嘗試了,XamlPad只能做Page頁面,而Window頁面不能產生(改Page為Window),不知什麼原因. 感覺越來越像HTML編程了,將來的WEB頁面和WinForm頁面都採用相同的標記進行統一!下面是代碼部分:Code highlighting produced by Actipro CodeHighlighter
song title: don't push mei'm a love em and leave emtouch and thease em kinda girli'm the perfect type for one wild nightyeah i suffocate quickdoes that make me a bitchi don't really care thoughwell your roses were sweet really swept me off my
今天看了我一個朋友的部落格,一個flash,讓我忽然想起我中學時候的<致海倫>.這是一首深深打動我的抒情詩,和我前面粘貼的<雨巷>,<假如你走來>,都是我的深愛.紀念一下,拾起我的回憶Helen thy beauty is to meLike those Nicean barks of yoreThat gently o'er a perfumed seaThe weary wayworn wanderer boreTo his own native
樣本:列舉系統安裝的所有可用的資料庫提供者 using System;using System.Data;using System.Data.Common; namespace ConsoleWin{ public class CmdWin { public static void Main() { Console.WriteLine("Hello,This is a Console Line Applicaiton!");
資料庫管理程式中,如果涉及大容量的資料轉送,在資料檢索過程中可能導致UI無響應。這裡類比這個過程,並通過非同步呼叫避免UI停滯問題。該樣本有共有3個button和1個DataGridView控制項,其中2個button用於分別正常檢索資料和非同步檢索資料,另一個button用於綁定資料。非同步呼叫實際是開啟新的非UI線程處理資料,因此非同步呼叫中彈出的對話方塊也是和使用者UI沒關係的。程式中讓資料訪問延時5秒,嘗試拖動表單看看效果。 using System;using System.Colle