原创 註冊QQ郵箱

假設你要註冊的qq郵箱是[email protected]   通過下面的網址獲取QQEmail賬號是否可用: http://emailreg.qq.com/cgi-bin/signup/ajaxcheckmail?type=1&email=xxx@q

原创 幾個類

System.IO.File;System.IO.Path;System.IO.Directory;System.Environment;     if ((Control.ModifierKeys & Keys.Control) ==

原创 獲取控制檯程序運行的結果

// 利用 ipconfig /all 獲取本機ip信息 public string GetIPConfigReturns() { string version = System.Environment.OSVersion.Ver

原创 Asp.Net 簡單考題管理系統

  default.aspx.cs using System; using System.Collections; using System.Configuration; using System.Data; using Syste

原创 一個簡單的多線程

  using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing

原创 漢字轉拼音

  using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawin

原创 獲取標準北京時間

1、http://s.time.org.cn/inc/newtime2.asp   內容的樣子如下(Javascript代碼):   年、月、日、星期、時、分、秒   var dateparm=new Array("2010,11,20,

原创 TextRenderer.DrawText

  using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing

原创 移動沒有標題欄的窗體

窗體上有一圖片框,內有一動態透明gif圖片。 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;

原创 string.Format

int i=12345; string s=string.Format("{0,-12:X8}", i); ==================================   {0,-12:X8}   參數   寬度內左對齊  8

原创 讀寫註冊表

RegistryKey k = Registry.LocalMachine.OpenSubKey("SoftWare//Microsoft//sxLdfang"); // 打開用於“讀” if (k == nul

原创 DataFormats中定義的數據格式字符串

在執行“拖拽”操作時,傳遞一“DragEventArgs”參數,其中用到所拖拽對象的數據格式,可用比如 DataFormats.Dib來表示,也可用字符串“DeviceIndependentBitmap”來表示,下面是個對照表。   Da

原创 登錄 CSDN

此處用 WinForm 模擬登錄 CSDN   using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;

原创 傳遞數據到模態對話框並返回信息,更新主頁面

  主頁面 Default.aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="教學1._Default"

原创 Cookie文件查看器

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawi