
一般點擊 Window的標題列,接著滑鼠移動,視窗自然而然就會跟著動,但是在 Window的 WindowStyle設為 None時,Window的標題列不見囉。
這時該怎麼移動 Window呢?
作法是添加 MouseLeftButtonDown再加 MouseMove 這兩個事件去處理滑鼠移動數及改變 Window的 Top和 Left的值。
首先,先宣告一個全域 Point,程式碼如下:
private Point _startPoint;

一般點擊 Window的標題列,接著滑鼠移動,視窗自然而然就會跟著動,但是在 Window的 WindowStyle設為 None時,Window的標題列不見囉。
這時該怎麼移動 Window呢?
作法是添加 MouseLeftButtonDown再加 MouseMove 這兩個事件去處理滑鼠移動數及改變 Window的 Top和 Left的值。
首先,先宣告一個全域 Point,程式碼如下:
private Point _startPoint;
於WPF視窗程式內加入報表(ReportViewer),再將資料庫的資料輸出成報表顯示出來
最近正在寫WPF的程式,老實說這是我第一次次接觸C#及SQL SERVER,也第一次寫WPF視窗程式
雖然先前有FORM的經驗,但是我也只有點皮毛而已,所以寫這個程式時找了好多資料,跟GOOGLE每天一起抗戰
不多說
直接分享我使用的方法:
At the boot loader menu, use the arrow keys to highlight the installation you want to edit and type [A] to enter into append mode.
You are presented with a prompt that looks similar to the following:
reference: http://www.bin-co.com/php/scripts/load/
* usage:
RETURN = load(URL, OPTIONS);
RETURN: (Array, String)
reference:http://www.codingforums.com/showthread.php?t=20922
http://ant4js.blogspot.com/2008/12/function.html
function dispatcher()
{
switch(arguments.length)
螞蟻的 JAVASCRIPT
W3schools 各式各樣教學網站 (網路上有山寨中文版,請自行蒐尋)
http://www.w3schools.com/js/default.asp
javascript:
String to JSON/MAP (reference:http://jessewth.blogspot.com/2008/10/javascript-string-to-json.html)
string myJSONText = "{ /"name/", /"jessewang/", /"age/", /"18/"}";
var myObject = eval('(' + myJSONtext + ')');
JSON/MAP to URI (reference:http://api.jquery.com/jQuery.param/)
隨意寫了一個跟jquery及javascript有關的網頁程式碼
他是一個模擬表單發送及獲取回傳結果的程式
例如:
google.com搜尋引擎
我們可以直接從網址打上參數進行搜尋,
Requirement files:
dotProject 2.1.3 http://ge.tt/66hA5oo (updated:12/2, 30days)
install steps:
1. download dotproject
> wget http://ge.tt/66hA5oo
skip installed steps...
[change YUM's mirror to 義守's ftp]
reference: http://apt.nc.hcc.edu.tw/web/student_server_centos/student_server_centos.html#update
steps:
> cd /etc/yum.repos.d/