C# 取得傳來的byte資料從第3個BYTE開始
string 資料 = System.Text.Encoding.Unicode.GetString位元陣列, 3, 位元陣列.Length - 3.Splitt; byte s =Guid.NewGuid.ToByteArray; str
- 10月 27 週三 201016:38
C# 取得傳來的byte資料 record
- 10月 27 週三 201010:13
C# 父子視窗應用 record
private void button1_Clickobject sender, EventArgs e Form2 frm2 = new Form2; frm2.FormClosed = new FormClosedEventHandlerfrm2_FormClosed;
- 10月 26 週二 201014:32
C# 執行緒使用委派 record
跨執行緒呼叫控制項 在非同步概觀這篇文章提到如果在別的執行緒中直接操作Windows Form上的任何一個控制項,換句話說就是操作控制項的執行緒與建立控制項的執行緒並不是同一個,就會產生InvalidOperationException這是.Net Framework中針對多執行緒工作所設下的一道
- 10月 26 週二 201013:56
C# 時間轉字串格式 record
HH:24小時制hh:12小時制
MM:月份mm:分鐘
- 10月 26 週二 201010:44
C# ListView record
this.listView1 = new System.Windows.Forms.ListView; // // listView1 // this.listView1.Location = new System.Drawing.Point26, 119;
- 10月 26 週二 201010:08
C# 開啟執行檔 record
C# 開啟執行檔開啟執行檔System.Diagnostics.Process.Startnotepad.exe; // 記事本System.Diagnostics.Process.Startcalc.exe; // 小算盤後面加參數System.Diagnostics.Process.Start自
- 10月 12 週二 201016:45
C# 常數 record
- 10月 05 週二 201010:57
C# try
try string s = null; ProcessStrings; catch Exception e Console.WriteLine0 Exception caught., e;
- 9月 15 週三 201017:19
C# 停止 record
相對vb的 Stop
- 9月 05 週日 201011:16
用1-52數字表示撲克牌的每一張牌 record
用1-52數字表示撲克牌的每一張牌Private Sub Form1_LoadByVal sender As System.Object, ByVal e As System.EventArgs Handles MyBase.LoadDim a As Integer = 1, 6, 9, 15, 1
