- Dec 30 Thu 2010 15:11
C# DoEvents record
- Dec 29 Wed 2010 10:59
C# String.IndexOf 和 lastIndexOf record
String.IndexOf 方法(C#)
- Dec 28 Tue 2010 12:00
C# 最常用的MessageBox record
if (MessageBox.Show("選擇完會馬上存檔", "警告", MessageBoxButtons.OKCancel) == DialogResult.Cancel)
- Dec 27 Mon 2010 23:53
C# VB的ReDim Preserve轉成C# record
VB:
- Dec 24 Fri 2010 18:11
3DMAX 3dsMAX導出.FBX骨骼動畫模型到XNA
3dsMAX導出.FBX骨骼動畫模型到XNA
- Dec 22 Wed 2010 14:10
C# GUID產生亂數字串 record
除了一般的Random方式以外
- Dec 21 Tue 2010 12:00
C# 字串變數, 如何包含雙引號或反斜線 record
C# 字串變數, 如何包含雙引號或反斜線
- Dec 21 Tue 2010 09:52
C# 字串搜尋 record
class TestRegularExpressions { static void Main() { string[] sentences = { "cow over the moon", "Betsy the Cow", "cowering in the corner", "no match here" }; string sPattern = "cow"; foreach (string s in sentences) { System.Console.Write("{0,24}", s); if (System.Text.RegularExpressions.Regex.IsMatch(s, sPattern, System.Text.RegularExpressions.RegexOptions.IgnoreCase)) { System.Console.WriteLine(" (match for '{0}' found)", sPattern); } else { System.Console.WriteLine(); } } } }
輸出
cow over the moon (match for 'cow' found) Betsy the Cow (match for 'cow' found) cowering in the corner (match for 'cow' found) no match here
- Dec 20 Mon 2010 10:14
C# 事件宣告與實作(不用委派) record
- Dec 18 Sat 2010 13:47
C# 開啟網頁 record
System.Diagnostics.Process.Start("http://tw.yahoo.com/?hpp=r1b");