HG伺服器端安裝筆記Publishing Mercurial Repositories 來源文件 <http://mercurial.selenic.com/wiki/PublishingRepositories> SCM-Manageryesyespermissions system, server side repository creation, zero-configuration startupdepends on
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->private void myMethod_QQShake(){//將此方法,假如表單的 Shown 事件中即可。//using System.Threading Point point = this.Location;for ( int i = 0 ; i <= 6 ; i++ )
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System.Runtime.InteropServices;using System;namespace myMethod{public class AnimateWindows {#region 使用AnimateWindow(譯為:生動的表單)製作淡入淡出效果的表單
在Nhibernate HQL查詢中,使用sum 和case 組合查詢案例,根據實體Entity 中“otype”欄位值,設定查詢列‘price’的正負三種寫法:1. select sum(case when otype='A' then price when otype='B' then -price end ) from Entity (sql中支援,但hql查詢時,控制台查詢語句缺少 ‘when otype='B' then -price ’,也就是只有otype='A'
原文: Enter the .Net AppDomain 原作者: George P. Alexander Jr. (Software Engineer) 原文發表日期: 9/1/2005 天哪, .NET Framework的CLR真是巧妙呢! 隨著越來越多的對.NET底層編程的瞭解, 一些諸如架構, 處理過程的複雜難懂的細節完全地讓我歎服. 所以呢, 再次錯過我們之前忽視的細節之美是不可能的了. 有個與CLR肩並肩協同工作的一個核心組件, 叫做AppDomain, 作為.NET
其實以前寫表單校正的時候一般都是直接用自己寫的javascript.這兩天做的個例子正好用了ajax.net裡的AjaxControlToolkit.做校正的時候就用用驗證控制項,結果就因為一個字母沒大寫花費了我兩個小時.特此懺悔一下使用CompareValidator的時候也可以使用自己寫的javascript來驗證.於是我也按照一個例子做了. function userfunc(ctl,args)
(1) char*轉換成CString 若將char*轉換成CString,除了直接賦值外,還可使用CString::Format進行。例如:char chArray[] = "This is a test"; char * p = "This is a test"; 或LPSTR p = "This is a test"; 或在已定義Unicode應的用程式中TCHAR * p = _T("This is a test"); 或LPTSTR p = _T("This is a